Dave Hollingworth

Results 97 comments of Dave Hollingworth

Please see the documentation [here](https://github.com/daveh/php-mvc#views).

It looks like you don't have AUTO_INCREMENT set on your id column in the database - this assigns IDs automatically when you insert a new record.

Then you don't need to include the id in the list of fields in the insert statement, or in the list of values. New records will be assigned a new...

Please can you describe exactly what the problem is? Do you get any error messages?

@techangela1 Try adding this line to the top of your script: `mysqli_report(MYSQLI_REPORT_OFF);`

@techangela1 That's the validation error you get when the form is submitted with no value for the name - try submitting the form with valid data

I suggest using a CSS framework like Bulma

A 500 error is a server error - to get the error details, look in the server's error log, or configure PHP to display the error messages with this code...

> which PhP script should i add that to? The script that's causing the error, in this case validate-email.php

The error message says that the `$mysqli` connection variable in the validate-email.php script is null, which probably means it hasn't connected to the database properly (e.g incorrect credentials). In that...