I am posting this quickly, and may be wrong, but will this work?
PHP Code:
include("XXXXXXXX");
$connection = mysql_connect($host,$user,$password) or die ( mysql_error() );
$db = mysql_select_db($database,$connection) or die ( mysql_error() );
$query = " SELECT * FROM mag_toc WHERE category='30' AND date_archive='$q_date'";
$result = mysql_query($query) or die ( mysql_error() );
$row_result = mysql_fetch_assoc($result);
if($row_result) {
do {
echo"<p><b>".$title."</b><br />".$description."<br /><a href=\"http://www.investmenttechnology.com.au/body/article_view.php?id=".$id."\">read more...</a></p>";
} while ($row_result = mysql_fetch_assoc($result));
}
Bookmarks