$ref = mysql_query("SELECT * FROM vor_customer WHERE id = '12'");
while($row = mysql_fetch_array($ref)) {
$to = $row["email"];
}
Выдает ошибку
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/host1255946/vo/htdocs/www/catalog/controller/product/mail_otvet.php on line 14
Все уже перепробовал, что может быть?