Re: [PHP] PHP MySQL Insert Statements

[email protected] (Stephen)
Newsgroups php.general
Message-ID <[email protected]>
Martine Osias wrote:
> 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?
Most likely syntax of the insert statement.

Do your insert statements work if used in MySQL Query Browser?

What is MySQL returning?

Are you using OOP or old functions?

Have you tried having PHP echo your insert statement so you can see 
exactly what you are sending MySQL?

Stephen
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.