Re: PHP MySQL Insert Statements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martine Osias wrote:
Hi,

My insert statements on this web page don't execute. The select statements do work. This tells me that the database connection is working. The username and password are the administrator's. What else could prevent the insert statements from executing?

Thank you.


Martine


Should be trivial to find out what's happening.  Something
like:

$success=mysql_query($insert_statement) or die("Uh-oh, mysql said:".mysql.error());


HTH,

Kevin Kinsey

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux