Forum: PHP Oct 12th, 2008 |
| Replies: 5 Views: 1,966 Hi Diode
The purpose for cleanQuery is to protect your data from malicious SQL injection attacks. Those attacks only occur when querying a database. The point is that cleanQuery doesn't strip any... |
Forum: PHP Mar 27th, 2008 |
| Replies: 11 Views: 2,365 You are trying to insert an id value of ' ' when you have that column set up as auto_increment. Don't insert an id value. Let MySQL set the id value.
Try this:
mysql_query("INSERT INTO... |