Hi all,
I was testing the PHP examples on your website ( https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/php/ ), but I get the following results after executing the QueryExample.php (the query string is: $input = "for $i in 1 to 10 return <xml>Text { $i }</xml>";):
This is the output: "instead of 1 commands received."
The basex server is running, the access to the server seems to work. I can type the query in the basex-api and it works! Through PHP no query is executed and no results are returned.
Can someone help me? Have I overseen something? Should I specify the database (e.g. factbook.xml, and how?)?