I'm doing a registration system where it takes user data (default) and an image that is selected but inside the execution I get this error:
Fatal error: Param count and argument count do not match. in C: \ xampp \ htdocs nip \ durango \ insert \ fingerprints.php on line 54
I tried in appserver but, it has not worked
if (empty($huella0)) {
//echo "El campo huella0 está vacío <br>";
}else{
$msquerys=sqlsrv_prepare($con, "INSERT INTO imagenes
(ID_ALTERNA,
ESTADO_EMISOR,
EMISOR,
IMAKEY,
DESIMA,
TIPO,
FOLIO,
GRUPO,
IMAGEN)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) ");
$msresultss=sqlsrv_execute($msquerys, array(
$id_alterna,
$estado_emisor,
$emisor,
$imakey,
$desima,
$tipo ,
$folio,
$grupo0,
$huella0))
or die('<div align="center"><p align="center"><strong># Imposible guardar la huella 0 información contacte a soporte técnico #</strong></p> </div> ');
}