Hi
Gota line below that comes up with a Parse error, I would like anyone to check over, I can not see what I have got wrong, so all help will be appreciated...
UPDATE SELLING_users SET credit=4 WHERE id = $Seller['id'];
SELLING_users table exists and has one column of twelve called credit with a present value of 5 also $Seller['id'] is used earlier in the script OK....
Is there enough info in the line to select and enter the data into the required column, 'id'
Here is a line pre my line that does a query for column endemailmode which works ok, should I use more selective info for the $Seller ['id'] as this original line (not my script..that's why this line works..Hi) uses........
#// Check if the e-mail has to be sent or not
$emailmode = @mysql_result(@mysql_query("SELECT endemailmode FROM SELLING_users WHERE id='".$Seller['id']."'"),0,"endemailmode");
if($emailmode != 'one') return;
Cheers
John
Last edited by wudz; 12-18-2005 at 03:06 PM..
|