Jump to content

Shakhawat

New Members
  • Posts

    1
  • Joined

  • Last visited

Shakhawat's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i am new php learner . i need help from group to learn batter php program. i cannot create solve this help me please . my code: html: <form action="chake.php" method="post"> <input type="number" name="one" placeholder="enter your number" required /> <input type="number" name="two" placeholder="enter your number" required /> <input type="submit" value ="enter"/> </form> php: <?php $left_operand =$_POST["one"]; $right_operand =$_POST["two"]; $output =bccomp($right_operand ,$right_operand); if($output == 0){ echo 'equal'; } elseif ($output > 0){ echo $right_operand.' is biger then '.$left_operand; } else{ echo $left_operand.' is bigger then '.$right_operand ; } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.