Hi I am learning php with Sams leanr php in 24 hours.

This is one example
        function addNums($firstnum, $secondnum)
                $result = $firstnum + $secondnum;
                return $result;11:      } // this is line 13
        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]

Reply via email to