![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
|
Sending Forms with GET variables from other forms
Hi guys, I have another question... this time about using forms and the $_GET method.
Basically, for the website I'm building I have a news posting system, and I want to have a page where you can edit the posts. When you go to the editing page, I want to be able to order it by ID or title name. My editing page is on my index.php, but I have a few pages on there, and I use a $_GET variable to get to them. ie. index.php?act=post index.php?act=edit I'm also using a $_GET variable for ordering the news articles to edit/delete ie. index.php?act=edit&sort=newsdesc But, I'm wondering how I can send the form that holds the sort variable to the page and also keep the act variable. I thought it might be as simple as this: <form action="index.php?act=edit" method="get">
<input type="radio" name="sort" value="newsdesc" />
</form>But, all this does is send it to index.php. Does anyone know how I could accomplish this? |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Winsock: specified sending | jayme | C++ | 2 | Dec 5th, 2007 6:24 PM |
| dealing with multiple forms | Booooze | C# | 12 | May 12th, 2006 5:12 PM |
| Variables between forms | nez | C# | 4 | Mar 7th, 2006 1:24 PM |
| Variables | coldDeath | Python | 4 | Aug 9th, 2005 11:35 AM |
| Is it possible for me using session variables into a class? | see07 | C# | 1 | Mar 9th, 2005 5:32 PM |