PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $sql_except = "INSERT INTO excepts_state (Except_category, State_code, Except, Date, Archive) VALUES (?, ?, ?, ?, ?)"; $stmt_except = mysqli_prepare($link2, $sql_except); mysqli_stmt_bind_param($stmt_except, "iisss", $param_except_cat, $state, $param_except, $param_date, $param_archive); for($i=0; $i < count($fields_state_except_category); $i++) { $param_except_cat = $fields_state_except_category[$i]; $param_except = $array_excepts[$i]; $param_date = $fields_valid_from_date[$i]; $param_archive = "N"; mysqli_stmt_execute($stmt_except); }
Show:  
Copy Clear