Hi at all,
i've followed the manual to got the autocomplete, but something don't work, can someone check this configuration:
autocomplete.php
database.php
simple test on command line :
root@survey www/limesurvey# php autocomplete.php
PHP Notice: Undefined index: term in /var/www/limesurvey/test-survey/database.php on line 16
[{"label":"ciao","value":"ciao"},{"label":"test1","value":"test1"},{"label":"test2","value":"test2"},{"label":"test3","value":"test3"},{"label":"ciao1","value":"ciao1"},{"label":"ciao3","value":"ciao3"}]
the connection to the database work, but on the question don't appaer nothing.
Here the code inside the question :
Any Idea ?
i've followed the manual to got the autocomplete, but something don't work, can someone check this configuration:
autocomplete.php
database.php
simple test on command line :
root@survey www/limesurvey# php autocomplete.php
PHP Notice: Undefined index: term in /var/www/limesurvey/test-survey/database.php on line 16
[{"label":"ciao","value":"ciao"},{"label":"test1","value":"test1"},{"label":"test2","value":"test2"},{"label":"test3","value":"test3"},{"label":"ciao1","value":"ciao1"},{"label":"ciao3","value":"ciao3"}]
the connection to the database work, but on the question don't appaer nothing.
Here the code inside the question :
Any Idea ?