im trying to adapt this into it.
Code:
<html>
<body>
<form action="math.php?=submit" method="post">
Ticket Amount: <input type="text" name="tickets" />
<input type="submit" name="Submit" />
</form>
<?php
$total = 0.000983428571428571428571428571428 * $_POST["tickets"];
echo($total);
?>
</body>
</html>
i get this error:
Parse error: syntax error, unexpected T_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\Abyss Web Server\htdocs\mypage.php(29) : eval()'d code on line 28
any ideas?