Re: Custom function

From: Date: Mon, 02 May 2011 22:28:59 +0000
Subject: Re: Custom function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-312640@lists.php.net to get a copy of this message
On Mon, May 2, 2011 at 3:16 PM, Ron Piggott <ron.piggott@actsministries.org> wrote: Is it possible to write a function with an optional flag? What would the syntax look like? So far I have: function load_advertisement( $web_page_reference , $web_advertising_sizes_reference ) { Hi Ron: I'm not sure what you mean by "optional flag"? Do you mean an optional parameter? Richard Correct Richard. Ron

« previous php.general (#312640) next »