Warning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forumWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518466я поменял местами,всё равно ошибка,которая была раньше(последний else -82 строка))Parse error: syntax error, unexpected T_ELSE in C:\xampp\htdocs\test\key.php on line 82Warning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 17:43:51 +0300odindvatriWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518465нет не так у вас так $num_rows = mysql_num_rows($res); $res = mysql_query($query); а надо так $res = mysql_query($query); $num_rows =...Warning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 17:38:36 +0300ValickWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518464дак у меня такжеWarning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 17:33:44 +0300odindvatriWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518462$res = mysql_query($query);Warning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 17:25:52 +0300ValickWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518461$db = mysql_query($query); так чтоли?Warning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 17:17:02 +0300odindvatriWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518460$query = "SELECT * FROM mydb"; $num_rows = mysql_num_rows($res); У вас пропущен вызов функции mysql_query(), которая собственно выполняет запрос и...Warning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 17:08:32 +0300cheopsWarning: mysql_num_rows() expects parameter 1 to be resource, null given inhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=87152#post518449"html" "head" "title" key "/title" "/head" "body" "?php function mysqlcon() { $db = mysql_connect ("localhost","root",""); mysql_select_db ("baza",$db); } if ($_POST...Warning: mysql_num_rows() expects parameter 1 to be resource, null given inFri, 20 Jul 2012 13:46:21 +0300odindvatri