Need help with form output
Posted: Sun Jan 28, 2007 2:32 am
feyd | Please use
This is what this will output:
http://website.com/12345/?%2F=10
It adds the ?%2F=
I need it to output:
http://website.com/12345/10
How can I strip out the ?%2F
Thanks,
Richard Cook
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I need a form to contact a URL with a specific output but I do not know how to strip out the unnecessary symbols.
Here is a copy of the form:
[syntax="html"]
<form method="get" name="Request" action="http://website.com/12345/">
<input name="" value="" type="hidden">
<table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td>
<table class="formTable" align="center" border="0" cellpadding="0" cellspacing="0">
</table>
<table class="formTable" align="center" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="label" valign="middle"><label for="">Number:</label></td>
<td align="left">
<input size="10" maxlength="10" name="/" value="" type=""> </td>
</tr></tbody></table><table align="center" border="0"></tbody>
<tr><td class="globalButtons" align="right" width="100%">
<button type="submit"><b>Request</b></button></td></tr></tbody></table>
</td></tr></tbody></table>
</form>
http://website.com/12345/?%2F=10
It adds the ?%2F=
I need it to output:
http://website.com/12345/10
How can I strip out the ?%2F
Thanks,
Richard Cook
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]