Cannot get form to work

Hi, I have this html and php doc. I simply want it to echo an input from the form but when I run the html form and Submit, it gives me error: Object not found! Error 404.
Please help.

[code]

BloggsCo Payroll

BloggsCo Payroll System


Please enter employee pay details
Employee ID
Firstname
Surname
Rate of pay (p/hour) $
Hours worked
Salaried? (tick for Yes)
 

 

[/code]

[php]<?php
if(isset($_POST[‘EmployeeID’])){
echo $_POST[‘EmployeeID’];
}
?> [/php]

Your form is redirecting to ‘tester.php’ in the same directory. Based on the error, that file does not exist.

Hi, I have put them in the same folder. I’m using XAMPP and have them in a folder inside htdocs but they are not working.
Does it have something to do with the

and braces?

EDIT : FIXED. For some reason I had to restart the whole thing before it could work.
I always saved but for some reason needed a restart. Thanks.

If you made changes to the form, you would need to refresh the browser, but you shouldn’t have had to restart the server.

Sponsor our Newsletter | Privacy Policy | Terms of Service