Re: [PHP] php: "else if" problem

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 1:47 pm, M. Sokolewicz said: > read the manual, you can use both ("else if" and "elseif"). > > The script does exactly what you tell it to. The flaw(s) is(/are) in > your logic. "else if" and "elseif" are not exactly the same, as the manual indicates (and glosses over a bit)

Re: [PHP] php: "else if" problem

2005-03-22 Thread M. Sokolewicz
read the manual, you can use both ("else if" and "elseif"). The script does exactly what you tell it to. The flaw(s) is(/are) in your logic. Second of all, might I please advise you to have a good look at your code, and at least *try* to clean it up a bit? I'm sure you didn't mean it like this,

Re: [PHP] php: "else if" problem

2005-03-22 Thread Franklin van de Meent
In PHP you should write it as "} elseif {", so there's no space between else and if. Read http://php.net/elseif for more details On Tue, 22 Mar 2005 22:48:00 +0200, Leonidas Savvides <[EMAIL PROTECTED]> wrote: > to: 'php-general@lists.php.net' > > from: Leonidas Savvides > > Please see my pro

[PHP] php: "else if" problem

2005-03-22 Thread Leonidas Savvides
to: 'php-general@lists.php.net' from: Leonidas Savvides Please see my problem below in PHP code : _ = $tsd ) { // "$tsd"=time stamp drop off date include_once ("wrongpickupdate.htm"); } else if ( $days >= 60 ) { // "$days" var come from "$tsd" & "$