Re: ODBC functions

From: Date: Mon, 12 Jun 2000 14:58:04 +0000
Subject: Re: ODBC functions
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-346@lists.php.net to get a copy of this message
Can you give an example? They work for me for instance: It prints all the columnpriveleges for the table "Thistable": $tTableName = $ThisTable; if ($connection_id = odbc_connect($dsn,$user,$password)){ if ($tResult=odbc_columnprivileges($connection_id,'','',$tTableName,'')){ odbc_result_all($tResult); } else{ echo "Couldn't get info on $tTableName"; } } Graeme Merrall wrote: > > Sorry about the x-post. I'm playng around with the ODBC functions inside PHP4 and I just > can't figure a whole bunch of functions. I've tried every variation I can think of with > both SQL Server and Access to figure out how odbc_columnprivileges and odbc_columns() (as well as > odbc_tableprivileges) works but I can't get any data from them., > Has anyone any insight, examples? > > Cheers, > Graeme

« previous php.db (#346) next »