LiamProductions Posted July 7, 2007 Share Posted July 7, 2007 Hey How do i use to functions at the same time? I tryed heres the code: <?php $reverseword = isset($_POST['reverseword'])?$_POST['reverseword']:0; echo strrev, strtolower($reverseword); ?> Thanks, please tell me how you use to functions at the same time for future reference. Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/ Share on other sites More sharing options...
no_one Posted July 7, 2007 Share Posted July 7, 2007 strrev(strtolower($reverseword)); Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291974 Share on other sites More sharing options...
LiamProductions Posted July 7, 2007 Author Share Posted July 7, 2007 so what would you put if you wanted to put 3 functions into the string? Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291975 Share on other sites More sharing options...
no_one Posted July 7, 2007 Share Posted July 7, 2007 Same idea func1(func2(func3(func4($string)))); And so on. Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291977 Share on other sites More sharing options...
LiamProductions Posted July 7, 2007 Author Share Posted July 7, 2007 and after the string you add a extra ) ? Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291980 Share on other sites More sharing options...
no_one Posted July 7, 2007 Share Posted July 7, 2007 Yes, for every opening ( [ { there should be a closing } ] ) Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291982 Share on other sites More sharing options...
LiamProductions Posted July 7, 2007 Author Share Posted July 7, 2007 Thanks for that. I fixed my reverser now if you want to look http://www.liamproductions.com/reverseword.php Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291983 Share on other sites More sharing options...
emehrkay Posted July 7, 2007 Share Posted July 7, 2007 looks to be broken my friend. i tried all of these words aibohphobia alula cammac civic deified deleveled detartrated Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-291990 Share on other sites More sharing options...
LiamProductions Posted July 7, 2007 Author Share Posted July 7, 2007 are you stupid? those words are the same when reversed Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-292011 Share on other sites More sharing options...
emehrkay Posted July 7, 2007 Share Posted July 7, 2007 Definitely wasn't looking to be called stupid... Ohhh I see, you're 13. Watch your mouth[fingers]. Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-292013 Share on other sites More sharing options...
sinisake Posted July 7, 2007 Share Posted July 7, 2007 Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-292018 Share on other sites More sharing options...
LiamProductions Posted July 7, 2007 Author Share Posted July 7, 2007 LOL, Ok anyone that wants to try it out, go on the link i posted... Quote Link to comment https://forums.phpfreaks.com/topic/58845-how-to/#findComment-292024 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.