Re: Id_num = ""

From: Date: Tue, 25 Jan 2005 07:01:19 +0000
Subject: Re: Id_num = ""
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-207206@lists.php.net to get a copy of this message
    $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 slater@handsonsecurity.com PHP / MySQL / Web App Security (LAMP) Training: http://www.handsonsecurity.com/training.html

« previous php.general (#207206) next »