Thanks for your help! I think that I almost got it. I'm just having trouble on the format for the function call. I have it in a printf statement which is confusing me. How exactly would you write the function call?
I appreciate your help!
Function Call Section (my question):
printf("<tr bgcolor='#F5F5DC'>
<td>ACTIVE EVENT:
<select name='Active'>" . pActiveOptions($sActive) . "</select>
The Function:
function pActiveOptions($dbOption)
{
$options = array('Tentative', 'Yes', 'No');
foreach ($options as $opt)
{
echo "<option value=\"$opt\" ";
if ($opt == $dbOption)
{
echo "selected" ;
}
echo ">$opt";
}
}