Re: Custom function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 2, 2011 at 3:16 PM, Ron Piggott
<ron.piggott@xxxxxxxxxxxxxxxxxx>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

-- 
Sláinte,
Richard S. Crawford (richard@xxxxxxxxxxxxx)
http://www.underpope.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux