Okay, call me dense! I want to embed a read-only database into my EXE output. I have read the documentation about using something like:
$storagelocation = exo_getglobalvariable(‘HEPubStorageLocation’, ‘’);
$dbname = $storagelocation.‘mysqlitedb.db’;
and that the database will be in the ‘Data’ folder … is that a virtual folder or a folder on my hard drive? I have tried putting my database in ‘Data’ in the structure of the files/folders being compiled. I have tried using
$storagelocation = exo_getglobalvariable(‘HEPubStorageLocation’, ‘’);
$dbname = $storagelocation.‘mysqlitedb.db’;
AND
$storagelocation = exo_getglobalvariable(‘HEPHPDataPath’, ‘’); $db = $storagelocation.‘musanizer-utilities.db’;
It is not loading. I still get an error message about no such table when I try to do a query. I just don’t understand what I am doing wrong. The directions seem to assume that I know more than I do!
Thanks for help,
Frank