There was a recent post about palindromes. There, the guy (or gal) used the / and % to seperate the digits. In other words he had an array of int to work with. There we proposed again a working solution, but you will see (if you search with palindrome as a key word) that it is much more difficult. Stringwise is much better.
If strrev() is the problem and doesn't work, write it your own or google it and copy it. Stick with what you have

