Membuat Program Sederhana Dengan PHP
<body> <body bgcolor=black> <form name=test action=bersarang.php method=post> <table border=1 cellpadding=0 cellspacing=0 align=center bgcolor=lime> <tr bgcolor=BLUE> <td colspan=2 align=center><b>BON PEMBAYARAN </b></td> </tr> <tr> <td><b>HARGA BARANG 1</b></td> <td><input type=text name=xHARGABARANG1 size=20></td> </tr> <tr> <td><b>HARGA BARANG 2</b></td> <td><input type=text name=HARGABARANG2 size=20></td> </tr> <tr> <td><input type=submit name=proses value=PROSES> <td align=left><input type=reset name=xBATAL value=BATAL></td> </tr> <? $total=$xHARGABARANG1*$HARGABARANG2/2; if($total==300000) { $bonus='HANDUK'; } else if($total==500000) { $bonus='SENTER'; } else if($total==150000) { $bonus='CANGKIR';...