I have the following where it generates options from the database
foreach($categories as $rowcat)
{echo '<option value="'.$rowcat->catname.'">'.$rowcat->catname.'</option>';
}
I need to select an option when loading, so how i'm gonna insert like
selected="Office"