RE: [PHP] _GET question

From: Date: Fri, 01 Aug 2003 19:48:26 +0000
Subject: RE: [PHP] _GET question
Groups: php.general 
Request: Send a blank email to php-general+get-158000@lists.php.net to get a copy of this message
Pushpinder Singh Garcha <mailto:pgarcha@adelphia.net> on Friday, August 01, 2003 11:11 AM said: > <form name="form1" method="post" > action="full_profile_1.php?val=$company"> Use a hidden form element instead. <input type="hidden" name="val" value="$company"/> > Can some one tell me if the action parameter of the form is correct ? > Since in the first part of the if() statement when I try to retrieve > the value of $_GET['val'] I do not get anything. 1. As an experiment did you try $_POST[]? 2. Making the above change (using input type="hidden") might solve your problem. hth, Chris.

« previous php.general (#158000) next »