Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `users` (
- `username` varchar(64) DEFAULT NULL,
- `password` varchar(64) DEFAULT NULL
- );
- INSERT INTO users VALUES ('bob', 'pass');
- $query = "SELECT * from users where username="".$username."" and password="".$password.""";
- SELECT * from users where username=""
- "="
- " and password="
- ""
- =
- ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement