Jump to content


Photo

Pass url from list menu


  • Please log in to reply
2 replies to this topic

#1 DoggerWatson

DoggerWatson
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 25 April 2005 - 12:02 PM

G'day again
Can't see the forest for the trees...

If I use list/ menu box on the search page ..the url that is passed is
http://localhost.mys...ults.php?select =value& submit=go

What I need is
http://localhost.mys...?recordID=value

If I try it with a text box the url passes ok

What do I need to do differently in order to select a category from a list menu & pass that to the results page?

#2 bzerr

bzerr
  • Members
  • Pip
  • Newbie
  • 5 posts
  • LocationCold Lake, Alberta, Canada

Posted 25 April 2005 - 03:36 PM

Try this out

[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]<select name=\"recordID\">
<option value=\"blah1\">Option 1</option>
<option value=\"blah2\">Option 2</option>
<option value=\"blah2\">Option 3</option>
</select>[/span][!--PHP-Foot--][/div][!--PHP-EFoot--]
Apache 1.3.33
MySQL 4.0.21
PHP 5.0.3
Linux 2.6.3

#3 DoggerWatson

DoggerWatson
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 26 April 2005 - 09:37 AM

Thank you Thank you Thank you
If I hadnt wasted so much time looking for complicated solutions I may have seen it.
Now my next post gets a little more complicated





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users