> [reply] > Please try if those changes solve your problem. Whenever one of > your values > will contain a single quote you will get an SQL error - so use > addslashes() > or (better) mysql_real_escape_string() on all insert values. > [/reply] > > > That is my whole point though, is that it does not happen every > time. I get > no error when the user registers (inserting "O'Neal" into the table), but > when I insert the same name into the tickets table, it fails.
Chad, please always answer to the list. Echo out your queries and compare them, there must be a difference. Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php