I am getting a warning message which I don't understand why and unable to resolve, (see below)
Warning: Supplied argument is not a valid MySQL result resource in /detail.php on line 34
Here is my code:
$rs = mysql_query($strSQL);
 $strSQL = "SELECT * FROM <tablename> WHERE id=" . $_GET["serviceName"];
 // Loop the recordset $rs
  while($row = mysql_fetch_array($rs))   **(line 34) here ***
{
 echo $row['ID']."<br />";
       echo $row['serviceName']."<br />";
     // Close the database connection
mysql_close();
?>
</dl>
<p><a href="li.php">Return to the list</a></p>
  </body>
</html>
thanks in advance, I am not getting any of the data on this webpage either,thanks...singhy
 
     
    