Topic awaiting preservation: Retrieving URL w/ PHP and posting in form? (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: hoboken nj |
posted 02-12-2002 19:51
Okay, what I'm trying to do is probably one of the simplest uses of PHP, I just don't know where to find out how to do it. This is it: I have a button that passes the part number to an order form. That's it. It passes it in the url as www.drisson.com/order2.php?pnum=200 for example...on that page, i have a form. I want the part number to be sent with the form. I can get the partnumber with parse_url(), I can show the partnumber on the page to the user, but I can't send it with the form...I tried just a <input type="hidden" name="partnumber" value=$pnum> but that isn't right. Is there a quick and simple answer to this, or do I have to do more complex encoding and whatnot? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 02-12-2002 22:06
You're close |