You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
if(isset($_POST['rev2']))
|
|
{
|
|
$rev=0;
|
|
$num=$_POST['rev'];
|
|
|
|
while($num>=1)
|
|
{
|
|
$re=$num%10;
|
|
$rev=$rev*10+$re;
|
|
$num=$num/10;
|
|
}
|
|
}
|
|
?>
|