Jump to content

help selecting records


rockindano30

Recommended Posts

Hello all

 

i'm having a little difficulties with this sql syntax.

 

SELECT * FROM users WHERE Uname='user1' and Pword='user1';

 

with the above sql syntax it returns 0 records

 

and with

 

SELECT * FROM users WHERE Uname='user1';

 

it returns one record. now i have two records in this database but having this problem.

 

please help.

Link to comment
https://forums.phpfreaks.com/topic/105793-help-selecting-records/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.