Hi,
I am using Version 2.00+ Build 130219 and want to run a php script using a table that resides on the limesurvey-db.
My idea was to include_once("/application/config/config.php") and the work with this as I did using 1.9x.
Obviously the config file changed and the db connection is handled differently now.
Unfortunately I am not a programmer but rather able to script a little php. How can I use the existing limesurvey db connection by referencing the key/values needed?
The way I did it in LS 1.9x
include_once("../limesurvey/config.php");
$link = mysql_connect($databaselocation, $databaseuser, $databasepass)
or die("No DB-Connection possible: " . mysql_error());
Many thanks!
Christoph