I keep on getting this warning message Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\test\checkPosts.php on line 12
<html>
<p><a href = "postArt.php"> Post Article </a></p>
<p><a href = "editArticle.php"> Edit Article </a></p>
<p><a href = "viewAllPosts.php"> View All Article </a></p>
<p><a href = "Logout.php"> Logout </a></p>
<p>Search <input type "text" name = "search"> </p>
<table>
<?php
include 'connect.php';
session_start();
$result2 = MYSQL_QUERY("select title, content, tag, date from article where author == ." .$_SESSION['id']. ".");
if(!$row = mysql_fetch_row($result2)or die($result2."<br/><br/>".mysql_error()));
echo "<tr><td>$row[column1]</td><td>$row[column12]</td></tr>";
?>
</table>
</html>