Re: dbx

From: Date: Tue, 12 Aug 2003 15:24:56 +0000
Subject: Re: dbx
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159285@lists.php.net to get a copy of this message
Not sure i understand fully the question...however, you can set up your own error handling and that will allow you to do what you like with all errors. You can also trigger your own errors (however, this is limited to a certain type). http://us2.php.net/manual/en/ref.errorfunc.php -- BigDog On Mon, 2003-08-11 at 18:24, daniel@electroteque.org wrote: > hi there , i am interested to know more about dbx, especially the error > handling > > $link = dbx_connect(DBX_MYSQL, "localhost", "db", "username", > "password") > or die ("Could not connect"); > > is there such an error feature where it can die to the screen with a custom > error message instead of doing the error checking for every single query > and connection ? > > and there is also no example of how to get a list of results like > > while ($row = $result->fetchRow()) { > > } > >

« previous php.general (#159285) next »