Jump to content

php mysql script to find record


Alicia

Recommended Posts

i just want to know how can I check how many records having the same info in a single column. I need to use the query in the php file. Thanks

 

 

Actually what I want to know is how can I check whether 2 records has the same value under the same column.

 

For instance.

 

UserA and UserB as username in column A

 

I want to check whether UserA and UserB has the same value in column B under the same table.

 

How can I get a sql query to accomplish this in phpmysql?

 

Thanks

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.