In my prepared statement, I'm trying to append DEFAULT
and NULL
to my query but this is not working. I've looked up other answers but could not find a clear answer. Here is my code:
$query = "INSERT INTO tblProjects VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
$query->bind_param(DEFAULT, $projectnumber, 1, $customer, $customerprojectlead, $mgeprojectlead, $controls, $projecttitle, NULL, NULL, $comments, $getuser, $dateentered, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, NULL, NULL);