Re: Re: Help with SQL2XML

From: Date: Tue, 02 Apr 2002 07:56:47 +0000
Subject: Re: Re: Help with SQL2XML
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1070@lists.php.net to get a copy of this message
>> I have tried both the direct and indirect methods: >> $myclass = new xml_sql2xml >> ( "pgsql://username:password@host5432/databasename" ); >> $xmlstring = $myclass->getxml( $sql ); >> AND >> $db = DB::connect ( "pgsql://username:password@host5432/databasename" ); >> $result = $dbh->query ( "SELECT * FROM users" ); ^^^^ is it supposed to be $db instead ? >> $myclass = new xml_sql2xml ( $db ); >> $xmlstring = $myclass->getxml( $result );

« previous php.pear.general (#1070) next »