Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
The top of parent directory
SUBMITTED BY:
hosam150
DATE:
Dec. 31, 2016, 11:43 p.m.
FORMAT:
Text only
SIZE:
2.4 kB
Raw
Download
Tweet
HITS:
33914
Go to comments
Report
اكتب هذا الكود في ملف Notebad واعطه اسم calculater.php او اي اسم اخر وضعة في المسار واعطي الخاصية save as Type :all filesثم اضغط save c:\appserv\www\calculater.php واعطه الامتداد .php ضرووووووووووووري لا تنسيالكود حقوق الطبع محفوظة @2012 المتنـبي code php :calculater project by PhP -------------------------------------------------------------------------------------------------------- <?PHPecho'<html> <head><title>ali-mohammed-dreer</title></head> <body> <form method="post" action="calculater.php"> NUM1<input type="text" name="x" size="20"><br> NUM2<input type="text" name="y" size="20"><br><INPUT TYPE="hidden" NAME="forms" VALUE="form1"> <br> OPERATERS: <BR><input type="radio" value="ADDITION" checked name="operaters">ADD<br><input type="radio" value="SUB" name="operaters">SUB<br><input type="radio" value="MULT" name="operaters">MULTI<br><input type="radio" value="DIV" name="operaters">DIVISION<br><input type="radio" value="MOD" name="operaters">MODULUS<br> <input type="reset" value="clear" name="reset"> <input type="submit" value="calculate" name="submit"> </form><a href="http://ali-mohammed-dreer-cv.blogspot.com/2012/09/php.html">My blogggggggggggggger</a><h2>Aisha</h2> </body> </html> ';if($operaters=="ADDITION"){ $z=$x+$y;print $z;}if($operaters=="SUB"){ $z=$x-$y;print $z;}if($operaters=="MULT"){ $z=$x*$y;print $z;}if($operaters=="DIV"){ $z=$x/$y;print $z;}if($operaters=="MOD"){ $z=$x%$y;print $z;}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus