hi there
Im going nuts - any help appreciated
trying to connect to access db over a network
so far -
I can connect to the db using the same odbc with excel
I can connect to a copy of the db using a similar odbc on a local drive with php
I just cant connect to it over the network - is this a permissions thing possibly??
the error I get is:
Warning: odbc_connect() [function.odbc-connect]: SQL error: , SQL state 00000 in SQLConnect
code below:
$testdb = odbc_connect('t estMWL', '','' );
$sql2 = "select * from COMPANY";
$rs2 = odbc_exec($test db,$sql2);
if (!$rs2)die(odbc _error());
while($data2 = odbc_fetch_arra y($rs2)){
echo etc etc
}
thanks in advance
yodboy
Im going nuts - any help appreciated
trying to connect to access db over a network
so far -
I can connect to the db using the same odbc with excel
I can connect to a copy of the db using a similar odbc on a local drive with php
I just cant connect to it over the network - is this a permissions thing possibly??
the error I get is:
Warning: odbc_connect() [function.odbc-connect]: SQL error: , SQL state 00000 in SQLConnect
code below:
$testdb = odbc_connect('t estMWL', '','' );
$sql2 = "select * from COMPANY";
$rs2 = odbc_exec($test db,$sql2);
if (!$rs2)die(odbc _error());
while($data2 = odbc_fetch_arra y($rs2)){
echo etc etc
}
thanks in advance
yodboy
Comment