Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Html form
#1
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.
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#2
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.
Reply
#3
yeah i know

but the script is

index.php?projects
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#4
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
Reply
#5
Thank you! That was it. >^-^<

(Sorry I made my sig smaller, most people dont use 800x600 =P)
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#6
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:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)