I am fairly new to PHP. I am trying to from a link on page.htm pass a var to a php script file. There I want to then test the value and direct the browser to another site.
my link to the test.php file is:
test.php?id=1
<?php $p = $_GET['id']; ?>
<?php if ($p == "1") ...what should I now do... ?>
I can validate $p but don't know what function or steps to take from there.
I would like to redirect the browser to say http://forums.devnetwork.net
The extension to this would also be able to say, have a member of my team log in, validate, then direct their browser to a specific dir and or html file as extracted from a table.
Thanks for any help!
tonydm