SHARE
TWEET

Untitled

a guest Apr 12th, 2013 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $username = escape($username);
  2. $password = escape($password);
  3.  
  4. $query = $db->execute("SELECT id,username FROM users WHERE username=$username AND password=$password")
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top