Page 1 of 1
undefined variable
Posted: Wed Jul 30, 2003 3:11 am
by lilyatie
i new in php...
can u tell me why it appeared thie error when i submit the form :
"Undefined variable: txtnama in D:\Inetpub\wwwroot\guestbook.php on line 16"
txtnama refer to textfield
please help me....
Posted: Wed Jul 30, 2003 4:34 am
by twigletmac
Show us your code and we'll be able to give you a better idea of where the problem is, although it's most likely to do with register_globals - read this:
Before Post Read: Concerning Passing Variables in PHP 4.2+
Mac
Posted: Wed Jul 30, 2003 4:35 am
by twigletmac
P.S. I've moved this to the PHP forum as it hasn't got anything to do with databases.
undefined variables
Posted: Wed Jul 30, 2003 10:38 pm
by lilyatie
actually i want insert into database but it appeared the error that i give u before...
so what supposed i do to solved that error problem....
please help me..
Posted: Thu Jul 31, 2003 7:01 am
by twigletmac
As I said initially - show us the lines of the code that are causing the error (line 10 - 20 would be a start) and we can help you better.
Mac