View Single Post
Old March 17th, 2005, 01:20 PM   #3 (permalink)
MRaburn
Registered User
 
Join Date: Jul 2003
Posts: 28
Well I have looked at the code in the latest showproduct.php.

It Reads:

$query = "SELECT catname,,extra1,extra2,extra3,extra4,extra5,extra6template FROM {$Globals['pp_db_prefix']}categories where id='$cat'";
$resulta = ppmysql_query($query,$link);
list( $thecatname, $template, $Globals['extra1name'], $Globals['extra2name'], $Globals['extra3name'], $Globals['extra4name'], $Globals['extra5name'], $Globals['extra6name'] ) = mysql_fetch_row($resulta);
ppmysql_free_result($resulta);

Which is strange since this is a call to the Categories table and those extra fields do not exist as well as a call to pp prefix which should probably read rp.

I have take out the extra field names from the query and it is currently working.

Might want to take a look at that.

Mike
MRaburn is offline   Reply With Quote