amel
Apr 25th 2008, 6:33 pm
Hi
Is there any way to change the way that a "get" form sets up the URL? If i have a form.
<form name="test" method="GET" action="/index">
<input type="text" name="id" value="2" />
<input type="submit" name="submit">
</form>
Is there a way to make that form submit to a URL of:
example.com/index/id/2 instead of example.com/index.php?id=2, and to not have it affect the way that the server variables are interpreted or the $_GET variable set up.
Any help would be appreciated...
Is there any way to change the way that a "get" form sets up the URL? If i have a form.
<form name="test" method="GET" action="/index">
<input type="text" name="id" value="2" />
<input type="submit" name="submit">
</form>
Is there a way to make that form submit to a URL of:
example.com/index/id/2 instead of example.com/index.php?id=2, and to not have it affect the way that the server variables are interpreted or the $_GET variable set up.
Any help would be appreciated...