Eminem Posted June 7, 2007 Share Posted June 7, 2007 I want to make a generator where one submits letters and it outputs it in different letters. Let's say the letter 'S' turns to '&'. If someone submits a word with the letter 'S', it would output it as '&'. So SMF would become '&MF'. Any suggests or tips on what or how I could go about doing this for every letter? Quote Link to comment https://forums.phpfreaks.com/topic/54612-word-replacing-generator/ Share on other sites More sharing options...
Lumio Posted June 7, 2007 Share Posted June 7, 2007 str_replace() Quote Link to comment https://forums.phpfreaks.com/topic/54612-word-replacing-generator/#findComment-270063 Share on other sites More sharing options...
per1os Posted June 7, 2007 Share Posted June 7, 2007 www.php.net/str_replace Quote Link to comment https://forums.phpfreaks.com/topic/54612-word-replacing-generator/#findComment-270067 Share on other sites More sharing options...
Lumio Posted June 7, 2007 Share Posted June 7, 2007 frost I already gave him the link Quote Link to comment https://forums.phpfreaks.com/topic/54612-word-replacing-generator/#findComment-270256 Share on other sites More sharing options...
per1os Posted June 7, 2007 Share Posted June 7, 2007 Yea, but it came from you, I figured if it came from me it may hold more weight. ^.- Quote Link to comment https://forums.phpfreaks.com/topic/54612-word-replacing-generator/#findComment-270259 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.