Bueno, probe de las formas que se me ocurrio pero como no me funciono. Acá lo encontre.
Código HTML:
<form id="form1" name="form1" method="post" action="">
<select name="id_marca">
<?php
$z = dbquery("SELECT * FROM tab_marca WHERE id_customer='".$customer."'");
while($ha = dbarray($z)){
$m = dbquery("SELECT * FROM tab_marcas WHERE id_marcas!='".$ha['id_marcas']."' ORDER BY name ASC");
while($r=dbarray($m)){
?>
<option value="<?php echo $r['id_marcas']; ?>"><?php echo $r['name']; ?></option>
<?php
}
}
?>
</select>
<input type="submit" name="manufacturer" id="button" value="Guardar" />
</label>
</form>