It’s like he can’t find het name of the checkboxen.
this is what I get from error when I don’t check a checkbox
Notice: Undefined variable: newsletter in C:\www est newsletter est11.php on line 12
Notice: Undefined variable: questions in C:\www est newsletter est11.php on line 18
Notice: Undefined index: newsletter in C:\www est newsletter est11.php on line 34
Notice: Undefined index: questions in C:\www est newsletter est11.php on line 35
Query who will be done: INSERT INTO nieuwsb2 (firstname, lastname, adress, zipcode, city, phone, email,newsletter, questions) VALUES (‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’);
The following data are submitted:
firstname:
lastname:
Adress:
zip-code:
city:
phone:
Email:
Notice: Undefined index: koeien in C:\www est newsletter est11.php on line 59
newsletter:
Notice: Undefined index: veeteelt in C:\www est questions est11.php on line 60
questions:
when I check a checkbox, I get the following
Notice: Undefined variable: newsletter in C:\www est newsletter est11.php on line 12
Notice: Undefined variable: questions in C:\www est newsletter est11.php on line 18
Notice: Undefined index: questions in C:\www est newsletter est11.php on line 35
Query who will be done: INSERT INTO nieuwsb2 (firstname, lastname, adress, zipcode, city, phone, email, newsletter, questions) VALUES (‘er’, ‘er’, ‘er 25’, ‘1562’, ‘bvgr’, ‘2+41+15654’, ‘[email protected]’, ‘on’, ‘’);
The following data are submitted:
firstname: er
lastname: er
Adress: er 25
zip-code: 1562
city: bvgr
phone: 2+41+15654
Email: [email protected]
newsletter: on
Notice: Undefined index: questions in C:\www est newsletter est11.php on line 60
questions:
when I check my database, he says always that the checkbox isn’t checked even it is checked.
The problem is that I don’t know where I have to declare the values of the name from the checkbox that the also knows it in the database.