Re: [PHP] PHP MySQL Insert Statements

[email protected] (Kevin Kinsey)
Newsgroups php.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.