Re: function help simple redirect
| From: | DvDmanDT | Date: | Mon, 27 Oct 2003 19:11:51 +0000 |
| Subject: | Re: function help simple redirect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167775@lists.php.net to get a copy of this message | ||
$payment = "1";
function payment(){
global $payment;
if ($payment == "0"){
header ("Location: test_page.html");
}
elseif ($payment == "1") {
header ("Location: test_page2.html");
}
}
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
##########################
Please, if you are using windows, you may be infected by Swen. Please go
here to find out more:
http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen
http://securityresponse.symantec.com/avcenter/venc/data/w32.swen.a@mm.html
##########################
"Frank Tudor" <frank_tudor@yahoo.com> skrev i meddelandet
news:20031027190625.41234.qmail@web11604.mail.yahoo.com...
> Sorry I'm getting this error message
>
> Parse error: parse error, unexpected T_ELSEIF
>
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/