Hello forum,
I have php page coming with page.php?id=2,
how do I pass such a thing in form action,
is it possible only thorugh href??
[SOLVED] form along with ids
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
action="form.php?id=2"it's recommended to pass it via the form itself however using a hidden field
Code: Select all
<input type="hidden" name="id" value="2" />yup it works fine but at the same time it gets values like
where x and y are not being passed
Code: Select all
?id=2&x=47&y=9