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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to