when i run the following script
<?php
mysql_pconnect ("...", "...", "...");
mysql_select_db ("...");
$qResult = mysql_query ("SELECT * FROM news ORDER BY id DESC");
$nRows = mysql_num_rows($qResult);
$rString ="&n=".$nRows;
for ($i=0; $i< $nRows; $i++){
$row = mysql_fetch_array($qResult);
$rString .="&update".$i."=".$row['update']."&";
}
echo $rString."&";
?>
this error appears
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.../public_html/news.php on line 7
&n=
i am trying to load my table into flash. it's more of a headache than it should be. thank you anyone who can help.