el programa es el seguiente:
Código
<html> <head> <title>sueldo</title> </head> <body> <form action="" method="post"> <label>Digite el Sueldo</label> <br> <p>$<input type="text" value="" name="a"></p> <br> <label>Digite el Incremento %</label> <br> <p>%<input type="text" value="8" name="b"></p> <br> <input type="submit" name="incremento" value="Calcular" /> </form> <br> <?php $a = $_POST['a']; $b = $_POST['b']; $incremento = $a / 100 * $b; echo "<br>"; echo "Suledo $".$a; echo "<br>"; echo "Incremento %".$b; echo "<br>"; echo "El Nuevo suldo con el incremento es $" . $incremento; ?> </body> </html>