[FX.php List] Re: Cannot get redirects to work

Jon Montgomery igsmasupport at igsmasouth.org
Thu Dec 20 21:02:03 MST 2007


John,
    Yes, after I posted, I noticed the I had no put the  {} in the post.  I
did have them on my php page however.  And I got it to work with some help
from Steve Winter and ggt.  Thanks!

Jon Montgomery
-- 
Jon Montgomery
Home phone: 618.542.2287
School phone: 618.542.2646 ext, 1133
Home email: vicepresident at comcast.net
IGSMA email: vicepresident at igsmasouth.org
School email: jwmontgomery at dqud300.perry.k12.il.us



On 12/20/07 5:47 PM, "John Moed" <john at technames.com> wrote:

> You don't have the {} curly braces...
> 
> Also, you might need to echo the header statement or break out of PHP for
> the HTML and then go back in to PHP after.
> 
> As far as I know, you should not use the ; at the end of an if statement. If
> you use the ; you will usually get an error message.
> 
> It should be:
> if(statement) {
> Something;
> }else{
> Something else;
> }
> 
> If you need to break out of PHP:
> <?php if(Statement) { ?>
> Html something
> <?php } else { ?>
> Html something else
> <?php } ?>
> 
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> 




More information about the FX.php_List mailing list