Jump to content

HELP MOVING


kdawg2k12

Recommended Posts

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";

Link to comment
https://forums.phpfreaks.com/topic/257193-help-moving/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.