- Email Address
It should send this information back into my table from my database.
...Now here is where things get "complex" (...well it is to me, okay? )...
If the email address does not exist in our table, then it must echo "Email Address Added. Thank you!". Otherwise if it does, then it must echo "Email address already exists!"
For some reason it is not doing this. It is spitting out this error:
Fatal error: Call to a member function fetch_assoc() on a non-object in C:\wamp\www\addemail.php on line 46
I have attached my php code.