I\'m editing a script that is using MySQLi. I need to use prepared statement to insert some values into the db.
My array is in the form of:
$insert =
inserting arrays with bind_param is painful, i recommend to use php's filter_var function. it does same filtering and also validates variables, inputs, its perfect. function manual page