Calgaryalberta Posted February 9, 2008 Share Posted February 9, 2008 Hello, Im developing a script and this is my first attempt at trying something like this. I have two fields (Text boxes) that users can type 3 letter codes in. The three letter codes represent airports. One text box is for departures, the other is for arrivals. When a user types in these three letter codes into each box, and hits 'search' I want the script to search for any flights that match the 3 letter codes of what the user typed, if no records are found, then the form will just return a "No Records Found For That Search" Now Im wondering if anyone could recommend any real good tutorials for developing a search function to do that? Thanks, Quote Link to comment Share on other sites More sharing options...
revraz Posted February 9, 2008 Share Posted February 9, 2008 Assuming you are using a MySQL DB, use the WHERE LIKE function in your SELECT query. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.