Why does this
Code:
function getdeltabs() {
$formcontent = "";
$result = $GLOBALS['adopts']->select("tabs", array("username", "name"), "username = '".$GLOBALS['username']."'");
while ($row = $result->fetchObject()) {
$tabname=$row->name;
$formcontent = $formcontent."<option value='".$tabname."'>".$tabname."</option>";
$i++;
}
return $formcontent;
}
delete all the users tabs when one person deletes a single tab?