Why are my SQL queries not changing my database? [duplicate]

     
  

This question already has an answer here:

     
  

New to php and sql. I'm having to run a local database on Netbeans (created with db browser).


My database is connecting fine returning results. But when i go to edit/change results via the interface it doesn't have any affect. Am I missing something?


this is my code for inserting a new entry:


error_reporting(E_ALL);   ini_set('display_errors'