Both of the following are the same, that is why it said OR. I always use the first in any language just to be clear at the expense of verbosity.

if(call()==TRUE)

if(call())

----- Original Message ----- From: "Paul InterlockInfo" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, March 16, 2010 4:12 PM
Subject: [RBASE-L] - RE: OT +x3 PHP


Getting mixed input from the php manual and it is a rather simple (in RBase)
script so:



if (Trim($EN6365)=="") $validationOK=false;



I would like to include all fields that are entered (no empty fields) so
what is the separator for this?  Is it as simple as the example below and
just use the 'or' even if this example shown had that commented out?





Sincerely,

Paul Dewey





Example:

<?php


if(call()==TRUE) // or if(call())
{
// nothing to do
}
else
{
// do something here
}
?>






Reply via email to