Jump to content

Check two tables for email


scotchegg78

Recommended Posts

Hi Guys

 

Easy one, but maybe i am tired or full of cold, but my query is wrong??!

i am simply trying to check two tables to see if the email has already been registered.

But it returns nothing if one of the tables for example job seeker is empty, even though the required email is in the recruiter table already..

 

SELECT job_seeker.email,job_recruiter.email

FROM job_seeker,job_recruiter

WHERE (job_recruiter.email = '[email protected]') OR (job_seeker.email = '[email protected]');

 

thanks for any quick fix

 

Link to comment
https://forums.phpfreaks.com/topic/186253-check-two-tables-for-email/
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.