Psybin Posted March 1, 2010 Share Posted March 1, 2010 Hello all, I'm new here and I'm new at PHP so I hope I don't ask something that is easily found around here. I'm trying to create a sort of translation box where you type in a word or sentence and it shows images according to the words typed. Example: User types "altitude" Currently all I can do is have it find one word part, such as "alt" or "tude" and display that image with the word. Also, this way I need an if statement for probably every entry I have, which is over 500. I'd like to be able to search the db, find any matching word parts, and print each one to form the translation. User types "altitude" It finds "alt", "tude" and shows alt.gif and tude.gif in order. If someone can point me in a good direction that would be great. If you need more details let me know. Thanks for any help! Link to comment https://forums.phpfreaks.com/topic/193732-translation-box/ Share on other sites More sharing options...
Psybin Posted March 2, 2010 Author Share Posted March 2, 2010 bump Link to comment https://forums.phpfreaks.com/topic/193732-translation-box/#findComment-1020651 Share on other sites More sharing options...
Psybin Posted March 10, 2010 Author Share Posted March 10, 2010 Any ideas? Link to comment https://forums.phpfreaks.com/topic/193732-translation-box/#findComment-1024053 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.