04-17-2015, 02:30 AM
$query3 = sprintf("UPDATE %s.bg_user SET cash = cash + ".$S_vcash_cash." WHERE user_code = '".$_SESSION['UserID']."' ", $CMS_LCAuth);
$dbh = $lc_cms_con->prepare( $query3 );
$dbh->execute();
echo '<meta http-equiv="refresh" content="0; url='.$S_vcash_link4.'" />';
is what im trying to do but the code doesn't work. it either
A.doesn't find the userID and then go into bg_user
B.Finds the userID but doesn't go into bg_user to add cash.
The old code was sending it to a_olt from the "Site" database im converting it to send to accounts instead of market cash.
What am i missing i was told to use another code but it didnt work at all..

