, Robert
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Undefined variables in update query
On Tue, Mar 26, 2013 at 10:57 AM, VanderHart, Robert
wrote:
> I appreciate the replies I've received already; thanks! Sorry for not
> catching my simple errors before sending out that message.
No
re authorid='$authorid'";
If you want to update all the rows in you table you can use (for example):
... name="department[$row[authorId]" and in php:
$department=$_POST['department'][$authorId]...
Premek.
On Tue, 26 Mar 2013 16:19:24 +0100, VanderHart, Robert
Hi,
I'm pretty new to PHP and to this discussion list.
I have a web form to update some fields in a data table. I'm getting
"undefined variable" notices in my error logs when I submit the form and the
table row doesn't get updated.
Here's the code for the form page:
Editing Record ";
for (