mysql - I need help constructing an LDAP query with php -


I am trying to draw data from a LDAP directory, and I am trying to do two questions and then Equalize the same $ result array or SQL together:

  "SELECT * FROM tls_active_applicants WHERE 'first_name` ='". $ Name ['0']. '' Or 'last_name` =' ' $ Name ['0']. I have a text box where the user has the option to enter the first name [location] last name, then I use preg_split to divide it by location, Then I have to search for a name, then second, after this, I just want to show results in my table. 
Would it be easy to add two sets of results to me in any way, or for me So / or with this Is there a way to search the question?


Comments