Hi Johanna,
thank you. Sorry for that, the $input string was with the wrong quotation marks. (cause of the $ in the string) <ende?lp=ende&p=Ci4HO3kMAA&search=mark&trestr=0x8001> I uploaded the solved example to the repository.
Kind regards, Andreas
johanna.vompras@uni-bielefeld.de schrieb:
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?)? _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk