Help with changing vote4us.php
#1

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



Messages In This Thread
[No subject] - by pwesty - 04-17-2015, 02:30 AM
[No subject] - by SibaN - 04-17-2015, 03:50 AM
[No subject] - by pwesty - 04-18-2015, 02:28 AM
[No subject] - by pwesty - 04-19-2015, 09:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)