|
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...
|