Re: [PHP] Function Default Values

2004-12-28 Thread Jason Wong
On Wednesday 29 December 2004 01:46, The Disguised Jedi wrote: > Can you not default to variables in a function? No. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development *

[PHP] Function Default Values

2004-12-28 Thread The Disguised Jedi
I have written a function to generate and store a salt data for a session cookie. I haven't written the MySQL code, so that is absent. Basically what I am trying to do is make it so that if there is no value submitted for an argument, I want it to fall back to the defaults set up in my config.ini