| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Soon to be RICHdoggie! Join Date: Jan 2005 Location: UK
Posts: 2,408
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Bold search terms When you search in a search engine, your search terms go bold... I want every word in a string to be found in another string and turn bold. $q is the query from a user (eg: football results) $result[1][snippet] is the snippet of test associated with the first result (eg: The best type football is where the results are good.) I want to output "The best type of football is where the results are good." How can I do this? Thanks Tom Done... thanks... - I exploded the $q variable by " " (a space) and then did an eregi_replace on the snippet! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Your Website's Spelling and the Search Engines !!! | jeet_020 | Search Engines | 3 | 01-02-2006 02:42 PM |
| Promoting Your Site (SEO) | Floryn | For Sale / Advertising Board | 0 | 01-30-2005 04:31 PM |
| PPC scripts for sale | morpheus666 | Scripts For Sale | 1 | 03-20-2004 12:15 PM |