On Tuesday, January 8, 2002, at 09:37  AM, Dean Ouellette wrote:

> Hi I am learning php with Sams leanr php in 24 hours.
>
> This is one example
> <?php
>       function addNums($firstnum, $secondnum)
>               {
>               $result = $firstnum + $secondnum;
>               return $result;11:      } // this is line 13

that should be:
          return $result; }

what's the 11: doing in there?

-Steve

>       print addNums (3,5);
>       
> ?>
>
> When I run it get error line 13
>
> any  ideas?
>
>
> -- PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to