Re: Serving pages based on user input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ólafur Waage schreef:
You can read about the header function.

http://is2.php.net/manual/en/function.header.php

hi Ólafur,

his situation doesn't require a redirect (he only thinks it does),
and redirects suck when used unecessarily. (plenty of info on the web
about why this is so ... hunt for a 'rant' by the formidable Richard Lynch
in the archives of this list for instance)


Ólafur Waage

2008/8/23 Prasad Chand <prasad.chand@xxxxxxxxx>:
Hi,

I am fairly new to PHP. I would like to serve a page to a user based on his
input. Say, I have a page 1 where user has 3 options(drop down menu). Based
on his selection I would like a php script to direct him to another page (to
pages 2,3,4 based on what he selected). I am unable to figure how to do this
in php. Can you please give me some pointers.

Is there any function which takes path and directs the user to that page?

Thanks,
Prasad

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux