Hi Serena,
can you check if the following query works for you? https://gist.github.com/c9b372ada66580ff8e79 It wraps the results in <pre> Tags, and should display in any browser. Please also note the nowdoc syntax, it allows you to format your queries a little more readable :) [1]
Hope this helps.
Kind regards
Michael
[1] http://www.php.net/manual/en/language.types.string.php#language.types.string...
Am 07.07.2011 um 02:58 schrieb Lusha Wang:
HI Guys THanks a lot for your help. It works in the online demo of Basex. However, do you know why nothing is printed out after executing the php code? Can someone point out any documents that I could read so that I wont bother you guys so much. THanks again.