Anyone please help me… im trying to create a script where you input email address then it will show the corresponding userid.
What happen to my script is that only the last email address shows the userid.
[code]
"; $uid = mysql_query("SELECT uid FROM dr_users where mail LIKE '{$line}' ") or die(mysql_error()); $num_rows = mysql_num_rows($uid); while ($row = mysql_fetch_assoc($uid)) { echo $num_rows; echo "UID: " . $row['uid'] . "
"; } } [/code]