how to send to page after entering number |
how to send to page after entering number |
henkjan |
Feb 27 2010, 05:41 PM
Post
#1
|
Group: Members Posts: 1 Joined: 27-February 10 Member No.: 11,235 |
Hi, Am looking for code that sends user to a page depending on his/her input in a field.
example: user enters how many persons are in his party and when he/she hits submit a page is returned with boats that can accomodate them. ie 10 persons returns a page with boats for 5 to 15 persons and boats for 10 to 20 persons. Maybe even some more variables like type of boat, checkbox choices etc. php beginner |
Darin McGrew |
Feb 28 2010, 12:24 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Perhaps one of these PHP redirection scripts will meet your needs:
http://php.resourceindex.com/Complete_Scripts/Redirection/ But if you have a small number of boats, then it might be easier to list the boats in order of capacity. If you have a large number of boats, then you may need a database system of some sort. |
stjepan |
Feb 28 2010, 03:54 PM
Post
#3
|
Serious Coder Group: Members Posts: 329 Joined: 15-October 06 From: zagreb, croatia Member No.: 445 |
<a href= link to small boats>small boats</a>
<a href= link to middle boats>middle boats</a> <a href= link to large boats>large boats</a> Done. Why complicating? |
Lo-Fi Version | Time is now: 27th April 2024 - 04:11 PM |