View Single Post
Old 06-15-2008, 04:42 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 710
Thanks: 2
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 online now  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Yoosha (06-17-2008)