Qbasicnews.com

Full Version: Html form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
yeah i know

but the script is

index.php?projects
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? Big Grin
Thank you! That was it. >^-^<

(Sorry I made my sig smaller, most people dont use 800x600 =P)
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: