Re: Table contents not updated
| From: | David Robley | Date: | Tue, 09 Jan 2007 09:12:27 +0000 |
| Subject: | Re: Table contents not updated | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246781@lists.php.net to get a copy of this message | ||
Wikus Moller wrote:
> Hi.
>
> I am new to uising html forms with php and I am having a problem with
> database contents not being updated although it seems my coding is
> correct.
>
> It's a xhtml formatted site with html forms:
>
> Here are my functions:
<SNIP> lots of code
Judicious use of mysql_error() after calls to mysql_query() in conjunction
with echo-ing the actual query should help you pinpoint the problem area.
You might also look at mysql_affected_rows().
Cheers
--
David Robley
"Parsley, sage, rosemary," said Tom timelessly.
Today is Prickle-Prickle, the 9th day of Chaos in the YOLD 3173.