View Single Post
Old April 28th, 2006, 03:31 AM   #9 (permalink)
snoopy5
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Quote:
Originally Posted by Chuck S
In image-inc.php at the bottom make sure the query is this.

Code:
Content visible to verified customers only.
mine was differnt. I post it here:

-------------
if ($notify == "yes") {
$resulta = ppmysql_query("SELECT id FROM {$Globals['rp_db_prefix']}products WHERE userid=$upuserid AND bigimage='$realname'", $link);
list( $productid ) = mysql_fetch_row($resulta);

$resulta = ppmysql_query("INSERT INTO {$Globals['rp_db_prefix']}notify (id,userid,product) values(NULL,$upuserid,$productid)", $link);
------------

But even after I changed the second $resulta to your code, the problem does not go away...
snoopy5 is offline   Reply With Quote