In the following code...

--snip--
<?PHP
$name = "bob";
Showmessage("hello $name");
Exit;
Function Showmessage($msgvar = null)
{
        echo $msgvar;
}
?>
--snip--

What is the purpose in the function def of "($msgvar = null)"??  Why not
just "function showmessage($msgvar)"??

Thanks,

Jeff

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to