What's up with your indenting style?
I've seen this before elsewhere - who/what teaches it?
rusdvl wrote:
> Hi guys,
>
> How do I redirect a person to a different page if they didnt come from
> a particular page?
>
> I know I use the header(); function but not sure what to place in the
> if()
>
> So it would be:
>
> if(something something)
> {
> header('Location: index.php');
> }
>
> Thanks ahead for the help.
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---