All pastes #468385 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-03 02:13 UTC
rendered paste body
      <select name=\"site_type\" style=\"width: 50px;\">";
	          $query = "select * from ".$prefix."settings order by site_type asc";
        $results = mysql_query($query);
        while($myrow = mysql_fetch_array($results)){
		echo"<option value=\"".$myrow["site_type"]."\"";
		if ($site_type == "".$myrow["site_type"]."") echo "selected";
		echo ">".$myrow["site_type"]."</option>";
		}
       echo "</select>