Palindrome or not using PHP
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $num = $_POST["num"]; // convert number to string $num_str = strval($num); // reverse the string $reverse_str = strrev($num_str); // check if the original number …
Palindrome or not using PHP Read More