For some reason, I am unable to store to insert data in the following database table. I am certain the connection is fine since I am successfully retrieving data from this database using select
but I seem to have a problem with insert
// Track user data in database
// Array must be converted to strings
$track = "INSERT INTO resources_record (name,email,stage,format,topic,cost,mentor)
VALUES ('0', '1', '2', '3', '4', 5, '6')";
// Execute track query
mysqli_query($con, $track);
It just doesn't insert anything.
Any help would be greatly appreciated.