Hello,
Im trying to filter out a result row from the code below.
Code is used for getting all domains from the vpopmail database into a selectbox for qmailadmin. Anyhow
the output i get (w/o the html): http://defuse.net/getdom.php
You see the dom_89 on the list? I want the script to ignore
the row when querying.
Hope someone knows how!
Aleksander
<?php
$db = mysql_connect("localhost", "login", "pass");
mysql_select_db("vpopmail",$db);
$result = mysql_query("SELECT * FROM dir_control ORDER BY domain asc ",$db);
while ($myrow = mysql_fetch_row($result)) {
printf("<option>%s</option>",
$myrow[0]);
}
?>