| Page 1 of 1 | [ 6 posts ] |
|
Hy all,
Who can help me with a datatable, i want too use datafeed from mysql, i try but DATA ERROR, pls help me with an example who work. Thx |
|
I am not sure what you mean by a mysql datafeed. Usually, we deal with some server-side script, such as a PHP script that handles the MySql database. This works, there is no particular trick in this and you can find very many examples. So, allow me to assume you have a bug in your code and, since I can't see it, I can't help.
|
|
i need an example, a datatable from a mysql.
|
|
I believe there is a basic misunderstanding: no browser can communicate directly with a database server. You need a PHP script or some such server-side script that will receive the request from the browser, query the database and then reply with the results.
On the browser side, this example: http://developer.yahoo.com/yui/examples ... rjson.html is what you would be looking for, just up to line 23 in the code box, the rest shows how to add further requests. The server side depends on what scripting language you have installed, most of them have JSON encoders either built-in or as an add-on. It will certainly help if you read the tutorials in the YUI Blog, which are linked from the DataTable's front page. |
|
Thx dude, i try and work, sorry because i don`t read this tutorial, Thx again
|
|
Search for MySql rowset into json_proxy post on this Forum .
I have posted the code , see if it helps Sucheta |
| Page 1 of 1 | [ 6 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© YUI Library - Site Credits
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group