$rid = ifx_prepare ("select * from emp where name like ". $name, $connid); if (! $rid) {... error...} $rowcount = ifx_affected_rows ($rid); if ($rowcount 1000) {printf ("Too many rows in result set (%d)\n br", $rowcount); die ("Please restrict your query br \n");}
?php $rid = ifx_prepare ("select * from emp where name like ". $name, $connid); if (! $rid) {/ /... erreur...} $rowcount = ifx_affected_rows ($rid); if ($rowcount 1000) {printf ("Trop de lignes trouvées (%d)\n br", $rowcount); die ("Ressayez avec une autre requête. br \n");}?