I do not understand why I am getting an error in the code below
unexpected ';' C:\xampp...on line 18
if($stmt = $conn->prepare('INSERT INTO facturas (id_factura, id_depositante, beneficiario, endereço, cell, descriçao, montante) VALUES (?, ?, ?, ?, ?, ?, ?)'){
$stmt->bind_param('ssssisi', $id_factura, $nome, $_POST['beneficiario'],
$_POST['endereço'], $_POST['cell'], $_POST['descriçao'], $_POST['montante']); //here is the line 18
$stmt->execute();
}
It seems like it was not expecting the end of the $stmt->bind_param
line.