Re: [PHP] If statement leading to another php page

2002-04-29 Thread Jason Wong
On Tuesday 30 April 2002 12:36, baldey_uk wrote: > Hello all, > > How can i force a transfer to another php page from an if statement? > > I have been trying: > > if (condition){ > > echo "Link"; > > } > else { > > something else > } if (something) { header("Location: http://www.somewhere.com";

[PHP] If statement leading to another php page

2002-04-29 Thread baldey_uk
Hello all, How can i force a transfer to another php page from an if statement? I have been trying: if (condition){ echo "Link"; } else { something else } without much luck, i keep getting parse errors. Thanks for anyhelp in advance! Cheers From baldey_uk -- PHP General Mailing List (