well, I take it you want something like:
<?php
function my_function($option1 = '', $option2 = FALSE){
echo 'Option 1: '.$option1.'<br>Option 2: '.$option2;
}
Add the variable positions in the function declaration lets us pass variables (if necessary). If values are not passed in those places, then the defaults are used. The defaults here being an empty string ('') and FALSE. You can call this function like so:
<?php
my_function('Some weird String', TRUE);
echo '<hr>';
my_function();
?>
That will output:
Option1: Some weird String
Option2: TRUE
-----------------------------------
Option1:
Option2: FALSE
Hope that helps...
~Brett