Thanks for prompt respond,
Quote:
Originally Posted by hooter
Check for a missing close bracket } and/or one too many
|
This is the code that I am using:
Code:
<?php
/* Search Engine Enhancement by Fernando Borcel. MascotasMexico.com */
require "./auth.php";
$qry = "SELECT * FROM " . $sql_tbl["products"] . " where forsale='Y' order by add_date DESC";
$result = db_query($qry);
$products = array();
while ($result_row = db_fetch_array($result)) {
б═ $products[] = $result_row;
}
$smarty->assign("products",$products);
$smarty->display("SEO_listing.tpl", $smarty);
?>