- Impact
- 4
hi,
ok.. is there away to get a varible to have the value of another varible?
heres the code i have :
any help will be VERY welcome. 20NP$ to anyone who finds a fix for it.
thanks,
-ed
ok.. is there away to get a varible to have the value of another varible?
heres the code i have :
PHP:
<?php
//the varible club is on the end of the url on this page (out.php?club=leeds-united)
include("prem_links");//this file has a list of varibles one of which is $leeds-united.
$redirect="\$$club"; //takes the value of $club (leeds-united) and puts a $ infort of it making it a varible, so redirect has the value $leeds-unted but theres a varilbe called leeds-unitedso it takes tht value (www.leedsunited.co.uk).
header("Refresh: 5; url=$redirect");// should ridirect to leedsunited.co.uk.
?>
any help will be VERY welcome. 20NP$ to anyone who finds a fix for it.
thanks,
-ed





