SyntaxFix
Write A Post
Hire A Developer
Questions
You need to assign $first and $second
$first = $_POST['first']; $second= $_POST['second'];
Also, As Travesty3 said, you need to do your arithmetic outside of the quotes:
echo $first + $second;