PDA

View Full Version : Get/Post Question


Donno24
06-27-2008, 09:26 AM
Hi there,

I was wondering would someone be able to help me.. I have a form which I would like the contents of to be captured and inserted into a link...

Here is the form code, as you can see I would like the contents of the form to be added to the end of "mod.php?mod=orders&ord_domain=".

<form action="mod.php?mod=orders&ord_domain=" method="post">

<input name="orders" type="text" size="20" maxlength="150" />
<input name="Submit" type="submit" value="Submit" />
</form>


Hope you can help, it seems like a simple job, but I just cant get it.

Thanks
Donno24

Donno24
06-27-2008, 10:25 AM
It's ok, I figured it out, I just configured it this way


<form action="mod.php" method="get">
<input name="mod" type="hidden" size="20" maxlength="150" value="orders" />

<input name="ord_domain" type="text" size="20" maxlength="150" />
<input name="Submit" type="submit" value="Submit" />
</form>


Thanks Anyway,

Donno24