Posted By

conspirator on 04/14/10


Tagged

mysql select textmate


Versions (?)

mysql select


 / Published in: Other
 

  1. $sql = "SELECT * FROM users WHERE username = '$username' AND password = '$password' AND status='yes'";
  2. $result = mysql_query($sql);
  3. while($row = mysql_fetch_array($result)){
  4. $user_id = $row['id'];
  5. }

Report this snippet  

You need to login to post a comment.