Ever wanted to write backwards? This little script let's you. It creates a loop that displays the letters in the opposite direction.
Directions: Replace the text in msg1 with the text you want reversed. If you want anything written before or after the backwards text, place them in the before and after variables.
<script type="text/javascript"><!--
// ***************
// Display Text Backwards
// More JavaScript Scripts at
// http://icecaves.net/tags/javascript
// ***************
var msg1="This text is backwards.. how cool right?";
var before = "";
// You put the tags you want before the text here.
var after = "";
// you put the closing tags here.
var msg2="";
for (count=msg1.length; count >= 0; count--)
msg2+=msg1.substring(count,count-1);
document.write (before,msg2,after);
//-->
</script>Code Preview:
Forum Board:

Comments
You can also use the strrev() function in php. :D
<?phpecho strrev("Backwards");
?>
You can also use the strrev() function in php. :D
<?phpecho strrev("Backwards");
?>
There is a php version of this here.
sdrawkcab etirw tsuj i t'naC ?siht si lufesu woH
.troffe fo tol a dna emit gnol a sekat ti tub dluoc uoy esoppus I
Yay, Anna!
AnnaNeo
it takes a lot of effort to remember the code :/
right now i'm too lazy to do either...
and this really has no uses.