kalishavali Posted November 16, 2014 Share Posted November 16, 2014 Create a data form that should accept odd number of words in a particular sentence Input Example: I am working in retailon. and should display the output as reversing first and last word and second word to fourth word and so on and the middle word should be same and should also display the number of words. Output Example: retailon in working am i. words=5. Input:I am Working in Google. Output:Google in Working am I. Words:5 Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted November 16, 2014 Share Posted November 16, 2014 Umm... de ja veu http://forums.phpfreaks.com/topic/292323-need-help-with-writing-a-php-code-or-data-form/ See reply #2 in that thread for the answer. Quote Link to comment 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.