@pcthugAug 27.2006 — #Exactly, which palindrome thing?! To me a palindrome is any Word, string, etc. that is exactly the same read in either direction. Nothing to do with PHP
if(strrev($str_second_half) == $str_first_half){ echo "<span style='font-weight: bold;'>'$string'</span> is a palindrome (With an even string length and no central letter)<br>"; echo "> ".$str_first_half."|".$str_second_half; }else{ echo "<span style='font-weight: bold;'>'$string'</span> is not a palindrome<br>"; } } }else{ die("String length must be higher than 2"); } }else{ die("Enter a string"); } }