Well... I found something but I need your help here!!! Take a look... I add this part of code into server/freichat.php file:
$user_ref_query = "SELECT a.referreid FROM jos_alpha_userpoints AS a WHERE a.userid = '". $res['session_id'] ."'";
I added that part of code into
public function get_members() before
$text variable that creates the userlist. The query is working (i have test it) but when I am trying to to get query's result as value it gives me the whole query as text!!! In other words, I am placing the variable
$user_ref_query into
$text content, and instead of query's result (numbers & letters) I am getting the part of query's code!!!
Can you please help me on this??? What should I do to take query's result and not query's code???
Thank you for your time!!!
Well... I found something but I need your help here!!! Take a look... I add this part of code into server/freichat.php file:
<code>$user_ref_query = "SELECT a.referreid FROM jos_alpha_userpoints AS a WHERE a.userid = '". $res['session_id'] ."'";</code>
I added that part of code into <strong>public function get_members()</strong> before <strong>$text</strong> variable that creates the userlist. The query is working (i have test it) but when I am trying to to get query's result as value it gives me the whole query as text!!! In other words, I am placing the variable <strong>$user_ref_query</strong> into <strong>$text</strong> content, and instead of query's result (numbers & letters) I am getting the part of query's code!!!
Can you please help me on this??? What should I do to take query's result and not query's code???
Thank you for your time!!!