Spelling out text both forward and backward

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ozulloa
Forum Newbie
Posts: 5
Joined: Fri Aug 14, 2009 9:18 am

Spelling out text both forward and backward

Post by ozulloa »

Hi All,

How do I make the outcome of a certain text to split up by letters and to spell backward?

Sample:

Word entered: CALENDAR

Spelling: C-A-L-E-N-D-A-R

Backward: R-A-D-N-E-L-A-C

Can anyone provide me with the coding for this??

thanks
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Spelling out text both forward and backward

Post by jackpf »

Post Reply