Jump to content

&& command


genzedu777

Recommended Posts

Hi,

 

I believe my coding has written wrongly, I am trying to retrieve 3 records at the same time,

'Tbjjtwx'

'123456'

'414221'

 

SELECT  * FROM `tutor`WHERE `Tutor_ID` = 'Tbjjtwx' && '123456' && '414221'

//However no results were shown

 

But when I tried to search for only 1 ID, result was shown

SELECT  * FROM `tutor`WHERE `Tutor_ID` = 'Tbjjtwx'

 

Did I miss out anything? Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/222728-command/
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.