English 中文(简体)
在什么地方,我可以了解如何进行现场询问?
原标题:Where can I learn how to do live queries?

我试图从MySql那里获得数据,通过php进行分类,并在json中重复数据,然后将 j碎新数据,并将用新数据更新表格。

我有一个基本数据表,我只想动态地向我的用户展示我的数据。 当他们从下降的菜单中选择一种选择时,该表将更新新的信息。

我可以 gr取数据,将其编码为 j。 问题Im是杂草。 我不知道如何称呼Sphp json数据并更新表格。

我发现数据表.net,其原始数据比我需要的要多。 我只需要一个简单的例子,以便我从那里开始。 谁能向我简单介绍一下如何进行现场询问?

感谢!

问题回答

have you tried getting a look at http://datatables.net/release-datatables/examples/data_sources/server_side.html

更新:

考虑

rel=“nofollow>http://ptheart.com/beta/testdatatables.php

让我知道这是否有助于。

更新: then you should try jqgrid





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签