Re: Need variable help
hum...
Pick up from which config file???
IF you are wanting to do that from the zencart config, then
1) make sure that the config file is included in the page you are doing this in... if not add a requireonce() linking ot the config file
2) use the variables defined here as such...
PHP Code:
$opts['hn'] = DB_SERVER;
$opts['un'] = DB_SERVER_USERNAME;
$opts['pw'] = DB_SERVER_PASSWORD;
$opts['db'] = DB_DATABASE;
$opts['tb'] = DB_PREFIX."TABLE NAME";
I think thats what you ment.... altough i'm not sure what that has anything to do with displaying events for costumers that go to farmer markets O_o
Need anything done on your zen cart Shop that other people said was impossible? send me a PM, I'll be happy to discuss the situation :)
Bookmarks