Re: Query failed:
here is the problem:
INSERT INTO files ('name, size, type, content')
should be
INSERT INTO files (name, size, type, content) (no ' )...
for escaping $content you might want to use mysql_real_escape_string() instead of addslashes() ...
Subject
Views
Written By
Posted
11459
September 05, 2005 07:25AM
5818
September 05, 2005 08:51AM
4968
September 06, 2005 02:12AM
9944
September 08, 2005 06:04AM
Re: Query failed:
3346
September 08, 2005 07:16AM
2908
September 09, 2005 06:10AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.