ребят что в коде не так немогу понять
[code]$num = 25;
$page = $_GET['page'];
$result00 = mysql_query("SELECT COUNT(*) FROM mess_in"
$temp = mysql_fetch_array($result00);
$posts = $temp[0];
$total = (($posts - 1) / $num) + 1;
$total = intval($total);
$page = intval($page);
if(empty($page) or $page < 0) $page = 1;
if($page > $total) $page = $total;
$start = $page * $num - $num;
$result = mysql_query("SELECT * FROM mess_in ORDER BY id LIMIT $start, $num"
while ($res = mysql_fetch_array($result))
{
$uid = $row['uid'];
$num = $row['num'];
$pertime = $row['pertime'];
$text = $row['text'];
$phone = $row['phone'];[/code]
выдает такую ошибку mysql_fetch_array(): supplied argument is not a valid MySQL result resource in Z:homesite.ruwwwadmintmpin_message.php on line 25