sending values in textbox

From: Date: Mon, 08 Sep 2003 09:09:40 +0000
Subject: sending values in textbox
Groups: php.general 
Request: Send a blank email to php-general+get-161964@lists.php.net to get a copy of this message
Hi I want to be able to send the vlaues that a user enters in a couple of input fields. However, my register_globals is set to off. So how do I do it using an image and HRef instead of a submit button? I have the following: <form name="form1" method="post" action=""> <p> <input type="text" name="txtContactNo"> </p> </form> <? echo("<a href='sendrequest.php?contactNo=" . $txtContactNo . "'>"); ?> But this doesnt seem to get the value of whats in the txtContactNo field. Should the </form> be after the php or inside php, so that it knows what txtContactNo is? any help would be appreciated TIA Angelo

« previous php.general (#161964) next »