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
On 3/26/2013 11:19 AM, VanderHart, Robert wrote:
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
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
Premek,
Thanks for the reply. I actually found that silly mistake after I sent out my
message. You're absolutely right that I need to hardcode the field name into
the input name attribute. Even a newbie like me should have realized that one;
even though I'm new to PHP I've used other
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