Haha...yes, that was missing
Ok, step 3 ... (still getting an error!!)
"Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site101/fst/var/www/html/test/templates/default/ubbt_reviewpost.tmpl on line 252
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/virtual/site101/fst/var/www/html/test/templates/default/ubbt_reviewpost.tmpl on line 253"
This error appears between the review image and the review cats. That should be the statistics part...
Can I simply remove these lines from ubbt_reviewpost.tmpl ?:
[] $query = "SELECT SUM(views) as tviews, COUNT(*) AS tphotos FROM products";
$totalv = mysql_query($query, $rplink);
list( $totalpviews, $products ) = mysql_fetch_row($totalv);
mysql_free_result($totalv);
$totalpviews = number_format( $totalpviews );
$prototal = number_format( $products );[/]
If I do that, all works fine!