Re: [PHP] Possible to have optional values in function?

2002-07-26 Thread JJ Harrison

I just realised why my search returned nothing.

I was searching the function list instead of the whole site :}

Sorry :(


--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com

Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 On Friday 26 July 2002 23:33, Tech Support wrote:
  Don't waist everyone's time with this b.s. ...either you can help or you
  cannot.

 Jeez. How do you like your help to be given to to?

 By saying 'rftm' that is not helping? It's blindingly obvious from the
 question that the section of the manual to look up would be the chapter on
 functions.

 So to be helpful I should go and copy-paste bits of the manual in my
reply?

  Use rtfm sparingly. Treat it as a last resort; a secret weapon.
Reserve
  it for people who ask really dumb questions like how do I use
sessions,
  or how do I use mysql, or something general like that, when you know
damn
  well they have not even tried to find out anything on their own.

 A substantial number of questions to this list can/should be answered with
 'rtfm'. Only recently someone said why read the manual when it's quicker
to
 ask the list and have some sucker do my homework for me (or words to that
 effect).

 --
 Jason Wong - Gremlins Associates - www.gremlins.com.hk
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *

 /*
 Banectomy, n.:
 The removal of bruises on a banana.
 -- Rich Hall, Sniglets
 */




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




Re: [PHP] Possible to have optional values in function?

2002-07-26 Thread Jason Wong

On Friday 26 July 2002 21:24, JJ Harrison wrote:
 I *did* rtfm(or searched it at least).

 That is why I asked the group.

So you've read the chapter on functions, and did it answer your question?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
When does summertime come to Minnesota, you ask?  Well, last year, I
think it was a Tuesday.
*/


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




Re: [PHP] Possible to have optional values in function?

2002-07-26 Thread JJ Harrison

I *did* rtfm(or searched it at least).

That is why I asked the group.


--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com

Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 On Friday 26 July 2002 17:46, JJ Harrison wrote:
  is it possible to have optional values in a PHP function?
 
  some of the built in ones have optional parameters.

 Yes, rtfm.

 --
 Jason Wong - Gremlins Associates - www.gremlins.com.hk
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *

 /*
 O give me a home,
 Where the buffalo roam,
 Where the deer and the antelope play,
 Where seldom is heard
 A discouraging word,
 'Cause what can an antelope say?
 */




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




Re: [PHP] Possible to have optional values in function?

2002-07-26 Thread JJ Harrison

Thank You.


--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com

René moonen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 JJ Harrison wrote:

 is it possible to have optional values in a PHP function?
 
 some of the built in ones have optional parameters.
 
 
 --
 JJ Harrison
 [EMAIL PROTECTED]
 www.tececo.com
 
 
 
 
 
 http://www.php.net/manual/en/functions.arguments.php
 look at section 'Default argument values'


 René






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