strrev($your_string) — This PHP function reverses the order of your string.
PHP Cookbook: Solutions & Examples