I have made a contact form and it seems everything is working fine except that I when i file the form out and click add contact I get undefined variable for all the text box fill ins.
correct me if I’m wrong but when you add:
<tr><td>First Name </td><td><input type="text" name="fname" /></td></tr>
fname is the variable and therefore is defined. So when you go to php page and add:
$fname = $_post['fname'];
the variable fname has previously been defined so there shouldn’t be a problem. Am I correct? I trying to figure out the root of the problem. It’s saying the undefined variable is in my addcontacts.php .