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
11706
September 05, 2005 07:25AM
5933
September 05, 2005 08:51AM
5119
September 06, 2005 02:12AM
10099
September 08, 2005 06:04AM
Re: Query failed:
3434
September 08, 2005 07:16AM
3025
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.