View Single Post
Old April 28th, 2006, 12:49 PM   #16 (permalink)
snoopy5
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
mmmh, but this does not work...

1. in uploadproduct.php Ihave added this 'notify' => STRING as advised

2. in image-inc.php, almost at the buttom, I have now this:

-------
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,'{$User['userid']}',$lastproductid)", $link);
}
}
----------------

But it does not work. Same error as before...
snoopy5 is offline   Reply With Quote