odbc_tableprivileges help required
| From: | Mark Newnham | Date: | Wed, 02 May 2001 16:03:08 +0000 |
| Subject: | odbc_tableprivileges help required | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9058@lists.php.net to get a copy of this message | ||
Could someone supply simple examples of how this command works. I am trying
to use it like this -
$conn=odbc_connect("poinv","","");
$result=odbc_tableprivileges($conn,"pt_mstr","%","%");
odbc_result_all($result);
but this returns
Warning: SQL error: , SQL state 00000 in SQLTablePrivileges in
/opt/apache/lib/htdocs/poinv/test.php on line 9
Warning: Supplied argument is not a valid ODBC result resource in
/opt/apache/lib/htdocs/poinv/test.php on line 11
So my understanding of this is obviously incorrect
Thanks
Mark
#####################################################
Mark Newnham
Application Design Associates, Inc
6021 S.Syracuse Way #302
Englewood, CO 80111, USA
http://www.adacorp.com
#####################################################