kdawg2k12 Posted February 17, 2012 Share Posted February 17, 2012 Hi everyone can anyone tell me why my code displays fine in the test environment but doesn't display in the live? Does the paths have to be different? //$conn = odbc_connect('myEvents','',''); $dbFile = realpath('Databases/myEvents.mdb'); $dbDir = dirname($dbFile); $conn = odbc_connect("Driver={Microsoft Access Driver (*.mdb)};DBQ=$dbFile;" , '', ''); $sql= "SELECT month,day,year,time,event,location FROM Events ORDER By ID"; $rs="$conn,$sql"; Quote Link to comment https://forums.phpfreaks.com/topic/257193-help-moving/ Share on other sites More sharing options...
Maq Posted February 17, 2012 Share Posted February 17, 2012 Are you sure your live server doesn't require user/pass? Quote Link to comment https://forums.phpfreaks.com/topic/257193-help-moving/#findComment-1318394 Share on other sites More sharing options...
kdawg2k12 Posted February 17, 2012 Author Share Posted February 17, 2012 it doesn't but i contacted my hosting company and they don't support microsoft drivers their servers are unix based. I will transfer access db to mysql thanks Quote Link to comment https://forums.phpfreaks.com/topic/257193-help-moving/#findComment-1318451 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.