Hey. tryed it and it doesn't work. Not it says PARSE error on line 5?!?!? Line 5 being "$query= mysql_query("SELECT article_posts.id,headline,main_page_image FROM " What in the world is wrong with that?
<?$connection = mysql_connect("localhost", "----", "----");
$db = mysql_select_db("----");
$query= mysql_query("SELECT article_posts.id,headline,main_page_image FROM
article_posts,article_staff_profiles WHERE article_posts.staff_id=article_staff_profiles.id AND
article_posts.type='review' ORDER BY Time_Stamp DESC LIMIT
3");while($r=mysql_fetch_row($query)) {print "<a
href=\"http://www.myurl.com/reviews/review.php3?review_id=$r[0]\"> <img src=\"$r[3]\"
width=\"100\" height=\"61\" border=\"0\"><br><img border="0" src="review.jpg" width="100%"
height="61"><img border="0" src="beneath.jpg" width="188" height="16"><br><b>$r[2]
</b><br>\n";}mysql_close();?></td>