Posts: 2,765
Threads: 138
Joined: Nov 2002
This may seem like a newbie question but it's got me stumped.
How do I have a form point to "?Projects"?
When I do this
<form action="?Projects">
then hit the submit button it doens't show ?Projects. Please help.
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 979
Threads: 27
Joined: Aug 2001
action points to the site in which the form is submitted. It needs to point to a script, such as "somepage.cgi" or "somepage.php" or "somepage.asp".
The "?" you see at the end of some urls is a way of passing something called the query string to the script.
Posts: 2,765
Threads: 138
Joined: Nov 2002
yeah i know
but the script is
index.php?projects
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 142
Threads: 33
Joined: Dec 2001
dont you need a method...
Code:
<form method='post' action='index.php?projects'>
//inputs and such...
<input type='submit' value='Pick me!!'>
</form>
[EDIT] - your sig makes me have to scroll at 800x600. I have a crappy P1 so its as high a resolution as im gonna get. could you maybe shorten that sig?
Posts: 2,765
Threads: 138
Joined: Nov 2002
Thank you! That was it. >^-^<
(Sorry I made my sig smaller, most people dont use 800x600 =P)
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 142
Threads: 33
Joined: Dec 2001
glad to help! thanx for changing the sig, its a real pain trying to surf on this computer. its a slow as a fart through syrup... :barf: