This question already has an answer here:
Hello I AM getting this error i am a newbie pls help..
<?php
$queryyy=mysql_query($conn,"select * from comments where type='".$platform."' AND app_id=".$id." order by id DESC");
$queryyy = mysql_query($sql);
if (!$queryyy) {
die('Invalid query: ' . mysql_error());
}
while($rowww=mysql_fetch_array($queryyy))
{
echo $rowww['comm']."<hr/>";
}
?>
Here is my code..
</div>