, 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
robert.vanderh...@umassmed.edu wrote:
I appreciate the replies I've received already; thanks! Sorry for not
catching my simple errors before sending out
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:
?php
include
Hi,
it appears to me that you have some strange input[name] attribute.
instead of
input type=\text\ name=\$row[department]\
value=\$row[department]\...
try
input type=\text\ name=department value=\$row[department]\...
In php you are not initializing variables. That means $department
...@umassmed.edu
-Original Message-
From: Přemysl [mailto:premysl.fi...@lim.cz]
Sent: Tuesday, March 26, 2013 11:46 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Undefined variables in update query
Hi,
it appears to me that you have some strange input[name] attribute.
instead of
input type
On Tue, Mar 26, 2013 at 10:57 AM, VanderHart, Robert
robert.vanderh...@umassmed.edu wrote:
I appreciate the replies I've received already; thanks! Sorry for not
catching my simple errors before sending out that message.
No worries, no one I have met yet begins life knowing this stuff!
If