Rolf Brusletto wrote:
Mark wrote:

Sorry guys, I have tried all the suggestions so far with no luck.....

Regards,
Mark



Mark - After the mysql_query($query); line.... add the following line

echo mysql_error();

run the script and try to add something again, if there is an error, it will tell you via mysql_error(); echo it out to the browser, and get back to me :)



do the same with the variable $query - insert a line


echo $query

into your code just before the query execution and check carefully the query string returned by that line

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to