Multi Table Select (Active Records) |
I am trying to check multiple databases with user given string. But SQL query always returns true. It must return false, if phone number exist in individual or corporate databases.
Individual Users Database: Code: | id | name | phone | gender | Corporate Users Database: Code: | id | name | phone | company | PHP: PHP Code: $phone = '5551928321'; // $this->input->post('phone', true); I will be very pleased if someone light me up for see how it will be work. Thank you so much. |
Messages In This Thread |
Multi Table Select (Active Records) - by PHP Warner - 11-30-2014, 08:30 AM
RE: Multi Table Select (Active Records) - by Smith - 11-30-2014, 10:44 PM
RE: Multi Table Select (Active Records) - by Rufnex - 12-01-2014, 01:14 AM
RE: Multi Table Select (Active Records) - by ivantcholakov - 12-01-2014, 03:03 AM
RE: Multi Table Select (Active Records) - by bclinton - 12-01-2014, 07:06 AM
|