![]() ![]() I already know about the LIKE syntax, but I have no actual idea on how to use it!ġ -3-4-2012-camera has been removed. Then display results based on a certain word. LETS MAKE THIS CRYSTAL CLEAR: I'm looking for something to search the longtext field. txt file and boom, every line with the word camera in it would display. In this example I was searching for a camera. ![]() txt file I want it to and display the lines based on what $search is. function searchcode($search)Įcho "$search was taken a total of $count times." ĬODE FOR SEARCHING FOR: searchcode("Camera") txt files, but decided that MySQL was a much easier way to go as I do have a little bit of experience in it. (Sorry, I am horrible at explaining things)įor example, I originally used. What I need it to do, is go through this LONGTEXT field and take out the line that has what is inputted to it. This field usually has around 2,000 lines of text in each of these. I have a field in my database that is LONGTEXT.
0 Comments
Leave a Reply. |