Hi, i´m developing a widget to show retrieved data from a mysql server. How a implement this? Need i to convert to xml and then load data?
Andre Dias
Hi, i´m developing a widget to show retrieved data from a mysql server. How a implement this? Need i to convert to xml and then load data?
Andre Dias
Last edited by andrepb; 2009-09-07 at 16:46.
Hi, i found this tutorial at http://www.w3schools.com/PHP/php_ajax_database.asp
adias.
Hi andrepb,
usually you have to send data, from server to client, by using a suitable data format. XML and JSON are both good choices. The example you linked uses HTML as data format, that could be useful in situations where you only need to display the retrieved data, but do not have to handle it (anyway, I wouldn't recommend using it).
Pit