Welcome to WebmasterWorld Guest from 188.8.131.52
I'm presenting users with an input box and asking for a ref number. The submit button loads a php file which searches the database for the ref nunber. If its founds I'd like the PHP code to then go extract a web url from the database and load that page.
I can do all the searching bits but have yet to found out how I can get php to load a page if the ref number is found in the db.
If the user enter 'A' in a box and clicked the Submit button take them to the following page
However if they put 'B' in abox and click the submit button take them to the following page
I know how towork the logic and the forms part - just dont know how to get php to issue commands that loads one particular page from a site or another.
Many thanks ....