Skip navigation

3 search fields Need to return results for multiple words for each feild NOT all feilds

Mar 16, 2012 2:17 AM

  Latest reply: Jonathan Fortis, Mar 27, 2012 11:06 AM
Replies
  • Currently Being Moderated
    Mar 26, 2012 4:25 PM   in reply to Jonathan Fortis

    >its working better but if i input security guard it returns nothing even if security guard cheif is present in the DB

     

    >i take it this is because the wild card ar only on either end?

     

    No, it should work. Add an echo statement at the end of the code to output the $query_Recordset1 string and post the results.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 26, 2012 10:52 PM   in reply to Jonathan Fortis

    Put it anywhere after the code that you have posted. We need to examine the SQL string sent to the db.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 27, 2012 10:28 AM   in reply to Jonathan Fortis

    >what do i need to do for this?

     

    You just need to add an echo statement so that the $query_Recordset1 string is output to the screen. Then paste the results into this thread.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points