?php $link = dbx_connect( DBX_MYSQL, "localhost", "db", "username", "password") or die ("Could not connect"); print("Connected successfully"); dbx_close($link);?
dbx_close() retourne TRUE en cas de succès, et FALSE en cas d 'erreur.