0

I recently started to learn PHP but everytime i want to print out a message or a result it redirects me to a clean different page only displaying a result of output...

Its a basic code, for example:

<input type="number" name="x"><br>
<input type="number" name="y"><br>
<input type="submit" value="Multiply">

and php...

$x = $_GET["x"];
$y = $_GET["y"];
printf("%f<br>", $x*$y);

i just want a clean output without redirecting me somewhere else, for example i want output to be right bellow "Multiply button"... i searched on *net but i didn't found enything... maybe i can't express correctly sry..

0 Answers0