php support
#3


Do you need it for paymentwall? If yes then you can do it like that:

Add this to your donation page or whatever is it for

<?PHP
} else {
$sqlcon = mysql_connect( $ip , $sqluser , $sqlpw ) or die( mysql_error() );
$mysql = mysql_select_db( $userdb , $sqlcon) or die( mysql_error() );
$uid = mysql_query("SELECT user_code from bg_user WHERE user_id = ".$_SESSION[username]."");
$uids = mysql_fetch_array( $uid );
?>

Then for example if you want this for paymentwall then replace [uSER_ID] in widget with

<?php echo $uids[user_code]; ?>

Hope you got it and it works.

thx you very much , now all working man, really thx



Messages In This Thread
[No subject] - by fonsy84 - 04-21-2013, 12:44 PM
[No subject] - by olo3007 - 04-21-2013, 12:45 PM
[No subject] - by fonsy84 - 04-21-2013, 01:18 PM
[No subject] - by Sutz - 04-26-2013, 09:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)