baagrid and ODBC to Access
Posted: Wed Oct 29, 2003 6:07 am
Hi there, I'm having a little truoble trying to use baagrid (looks great!) with ODBC.
I'm relatively new to PHP but receive the following error:
[Microsoft][ODBC Microsoft Access Driver]Invalid use of null pointer
when running the code.
Here's the code:
Any clues received would be very welcome.
J
I'm relatively new to PHP but receive the following error:
[Microsoft][ODBC Microsoft Access Driver]Invalid use of null pointer
when running the code.
Here's the code:
Code: Select all
global $querystring, $grid, $dsn, $xdsn, $ires;
$dsn = "TLSHOME";
$xdsn = odbc_connect($dsn, "", "" );
include ('baaGrid.php');
$queryString = "SELECT * FROM PROP_INF";
$grid = new baaGrid ($querystring, DB_ODBC, $xdsn);
$grid->showErrors(); // just in case
$grid->display();J