hello
i would like to add another value to an insert statement, but whatever i do it cause various errors on whatever way i try it. can someone show me the correct way to code this. many thanks
my original working code is this:
$sql = "INSERT INTO `act` (`department`) VALUES ('". implode("'),('", $dept) . "')";
and i have tried amongst others:
$sql = "INSERT INTO `act` (`department`,`item`) VALUES ('". implode("'),('", $dept) . "','". implode("'),('", $box) . "')";