Posted by celalo@gmail.com on 10/04/07 06:45
just write
header ('location: index.php');
instead of
header = ('location: index.php');
header is a function not a variable. dont get confused with the
$headers variable you used. They are tottally different.
On Oct 4, 4:14 am, "Shelly" <sheldonlg.n...@asap-consult.com> wrote:
> "Big Moxy" <bigm...@gmail.com> wrote in message
>
> news:1191458068.443880.280090@g4g2000hsf.googlegroups.com...
>
> > I'm sorry if this turns out to be a double post but I got an error
> > during the first attempt.
>
> > I'm perplexed at the error in the header = ('location: index.php'); I
> > have used this before successfully but this time the syntax checker at
> >http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/
> > issues this message: Parse error: parse error, unexpected '=' in
> > quickform.php on line 48.
>
> That should read:
> header('location: index.php');
>
> The error message was quite explicit!
>
> Shelly
Navigation:
[Reply to this message]
|