Since PHP 4.10 the form values (and other values) are not automagically turned into variables, for security reasons.
See http://www.php.net/release_4_1_0.php
Options: modify register_globals=On in php.ini or use


$_POST['formfieldname'] in stead of $formfieldname


At 14:06 17-3-03, you wrote:
Hello friends.

This is the first time I am trying this combination : Win XP prof + Mysql + Php + IIS.

When I click submit in the test1.php page, the page goes to test2.php, but shows the following error :

Notice: Undefined variable: StudentLastName in c:\inetpub\wwwroot\test\test2.php on line 12

Notice: Undefined variable: StudentFirstName in c:\inetpub\wwwroot\test\test2.php on line 12

Notice: Undefined variable: StudentTelNumber in c:\inetpub\wwwroot\test\test2.php on line 12
error adding row


Can someone tell me what is wrong? My code is shown below.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to