I presume you have v4.2 of PHP installed... Globals are off by default so use $_POST['id'] in course.php or set register_globals to on in php.ini (security implications however)
-----Original Message----- From: mathew jose seby [mailto:[EMAIL PROTECTED]] Sent: 23 August 2002 23:23 To: [EMAIL PROTECTED] Subject: [PHP-WIN] php help sir, the following code i used to pass an id from one page to next but it is not working,can you please help me. (i am working on windows 98 os,apache server) application.html:::::::::: <html> <body> <form action=course.php method=post> <BR> Enter an id num:<input type=text name=id size=4><br> <input type=submit value="Send Id!"> </form> </body> </html> --------------------------------------------------- course.php:::::::::::::: <html> <body> <? print "You entered: " . $id . "<br>"; ?> </body> </html> __________________________________________________________ Give your Company an email address like ravi @ ravi-exports.com. Sign up for Rediffmail Pro today! Know more. http://www.rediffmailpro.com/signup/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php