Re: dbx

From: Date: Tue, 12 Aug 2003 01:17:27 +0000
Subject: Re: dbx
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159216@lists.php.net to get a copy of this message
* Thus wrote daniel@electroteque.org (daniel@electroteque.org): > 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 ? http://us2.php.net/manual/en/function.set-error-handler.php > > and there is also no example of how to get a list of results like > > while ($row = $result->fetchRow()) { > after your $result = dbx_query(); do a print_r($result) you will see the structure that is in there. Also there is some documentation at: http://us2.php.net/manual/en/function.dbx-query.php Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#159216) next »