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