zeus,
I notice you start your code with <?PHP  and yet you use "short tags"
throughout the script - has "short tags" been enabled in your environment?
If not you have to use with <?php   - not <?

That else($submit) thing is a nonsense zeus - surely! - even if it didn`t
produce a parsing error (and it will) I cannot for the life of me see what
you hope to achieve by this construct.

All you are trying to do is ....

if $submit is true then do these things otherwise (if it is not true) then
do these other things.


if ($submit == true) {
do this stuff;
} else {
do some other stuff;
}

Whilst your code is a festival of swapping into and out of php sometimes for
the sake of just one character or curly brace it is structurally Ok as far
as I can see except for that else($submit) thing - just get rid of it like
Robert said!



> On Tue, 19 Nov 2002, zeus wrote:
>
> > Nope! i try that one too, but  the parse error thing still exist....
> >
> >
> > Howard, Robert P wrote:
> >
> > >change your else($submit) statement to else
> > >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to