View Single Post
Old 06-15-2008, 03:42 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

PHP Code:
function myfunction($myarg 'default')
{
    echo 
'You specified, '$myarg'<br>';
}

myfunction('a custom value');
myfunction(); 
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Yoosha (06-17-2008)