Re: [PHP] Id_num = ""
> $id_num = $_POST["id_num"]; $id_num = $_GET['id_num']; RTFM -> diffrent between _GET & _POST You can also use $_REQUEST['id_num'] if you don't care how the variable gets there (GET, POST, or COOKIE). Note that if the value is set in more than one input (say both a GET and a COOKIE set id_num), the variables_order variable in php.ini determines which one will overwrite the other. Steve -- Steve Slater [EMAIL PROTECTED] PHP / MySQL / Web App Security (LAMP) Training: http://www.handsonsecurity.com/training.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Id_num = ""
> $id_num = $_POST["id_num"]; $id_num = $_GET['id_num']; RTFM -> diffrent between _GET & _POST -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Id_num = ""
Steve Marquez wrote: If I do the following, it gives me a blank page. However, instead of using the variable, if I put in $id_num = "191" Then it will display the information. view Use $_GET['id_num'] instead of $id_num and read up on the register_globals setting. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php