how to get uid from username
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: how to get uid from username

PHP Code:
$username = 'teddy bear';
$uid = $db->fetch_field($db->simple_select('users', 'uid', 'username="'.$db->escape_string($username).'"'), 'uid');


My Blog
09-10-2010 04:55 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
how to get uid from username - techu - 09-10-2010, 04:24 PM
RE: how to get uid from username - ZiNgA BuRgA - 09-10-2010 04:55 PM
RE: how to get uid from username - techu - 09-10-2010, 05:37 PM

 Standard Tools
Forum Jump: