Hi Jaromír,

one possible solution is to just "json_encode()" and then echo the data 
from the database similar to the test php file I used in the playground 
sample:

https://github.com/qooxdoo/qooxdoo/blob/master/framework/source/resource/qx/test/xmlhttp/echo_post_request.php

In pseudocode:

<?php
validate input from $POST       // never trust any input
$dbResult = query db with $POST information
echo json_encode($dbResult);
?>

Best regards,
Richard

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to