Membership records per user

By Jesus - February 28, 2019

Should I use $CURRENT_USER as a filter?

'where' => "cliente='$CURRENT_USER'",

this way I'll only get records from the user logged in.

Am I correct? (will give it a try) ;)

By Jesus - February 28, 2019

An old thread helped me with this: https://www.interactivetools.com/forum/forum-posts.php?postNum=2202242#post2202242

My final code:

    'where'        => mysql_escapef(" cliente = ? ", $CURRENT_USER['num'] ),  

Thank you!

PS
If someone thinks I still need an adjustment or there's a better way, please feel free to share it!