You are here: RE: [PHP] Unable to send variables to MySQL table « PHP « IT news, forums, messages
RE: [PHP] Unable to send variables to MySQL table

Posted by Jim Moseby on 10/19/81 11:31

<snippity snip>
>
> Any ideas? The code is below.
<snip snip>
> mysql_query($add_to_db);

Hi Stewart. Your query is failing for some reason (as others here have
mentioned). I would change the above line to read:

mysql_query($add_to_db) or die(mysql_error()."<br>$add_to_db");

This will make the script die, and will print the mysql error and the SQL
statement that caused it.

JM

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация