$stmt = "INSERT INTO mytable VALUES ('one', 'two')"; $result = sesam_execimm ($stmt); $err = sesam_diagnostic(); print ("sqlstate = ".$err["sqlstate"] ."\n". "Affected rows = ".$err["rowcount"]." == ". sesam_affected_rows($result) ."\n");
?php $stmt = "INSERT INTO matable VALUES('un', 'deux')"; $result = sesam_execimm ($stmt); $err = sesam_diagnostic(); print("sqlstate = ".$err["sqlstate"] ."\n". "Nombre de lignes affectées = ".$err["rowcount"]." == ". sesam_affected_rows($result) ."\n");?