[Tfug] PHP Question

Stephen Hooper stephen.hooper at gmail.com
Sat Feb 10 21:20:37 MST 2007


I suck at PHP, but doesn't that test read the same as "C": if
$currentWindDirection is not empty, and $currentWindSpeed is not empty
then do all the below?

So... is the script ending prematurely, or is it just ending because
one of the variables you are testing against doesn't contain anything?
 Why don't you post your code snippet, instead of some example's code
snippet?

On 2/10/07, George Cohn <gwcohn at simplybits.net> wrote:

>
> Problem is, when I use the && to string them on the same line in the if
> statement, the php script ends at that point.  Everything else runs fine
> up to that point.
>




More information about the tfug mailing list