Print Reverse of any number Post author:Educate Post published:July 31, 2023 Post category:PHP Post comments:0 Comments Reverse Number =1) { $re=$num%10; $rev=$rev*10+$re; $num=$num/10; } } echo "Reverse of the given number is $rev"; ?> You Might Also Like PHP program to sort the student records which are stored in the database using selection sort July 31, 2023 Armstrong number in PHP July 31, 2023 Php program to find a factorial of given number July 29, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.
PHP program to sort the student records which are stored in the database using selection sort July 31, 2023