Re: PHP4 and returning values from a function...

by "Richard Walker" <richardwalker(at)onebox.com>

 Date:  Thu, 6 Jun 2002 19:11:03 -0400
 To:  <hwg-languages(at)hwg.org>
 Cc:  "Michael Boyer" <galdor7(at)hotmail.com>
 References:  hotmail
  todo: View Thread, Original
semicolon is missing:


>         $numberOfDays = calcNumberOfDays($month, $year) // Call
the function

JavaScript allows this ... php enforces semicolons.  Unless you
use the shorthand form of

<?=$foo?>




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.368 / Virus Database: 204 - Release Date: 5/30/2002

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA