Hi
I'm having problem getting what should be a simple INSERT using a preparared statement to work?
Am I missing something?
Many thanks
require_once ('myaccess/dbc.php');
// $stmnt1 = $dbc->stmt_init();
if ($stmnt1 = $dbc -> prepare("INSERT INTO DEV_property_trades VALUES (?,?,?,?,?) ")) {
$stmnt1->bind_param("sssss",$trade_name,$trade_number,$trade_email,$trade_list,$trade_details);
$stmnt1->execute();
$stmnt1->close();Code blocks are created by indenting at least 4 spaces