hi all!!

i'm writing functions like - 
-------
function top () {
 echo "blah blah blah";}
-------

what i want to do is make it so that i can do - 
-------
function top($image) {
 echo "blah blah $image blah"; }
-------

but also make the $image parameter in the top() as optional. so if
its not there, then tell php not to worry about it.

any ideas??

thanks!

sunny


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

-- 
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