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 ) { Thanks Ron The Verse of the Day âEncouragement from Godâs Wordâ http://www.TheVerseOfTheDay.info