php $select = mysql_query("SELECT * FROM volsMain WHERE ID = '$id'");$data = mysql_fetch_array($select); $query="SELECT * FROM volsMain ORDER BY shift_times, position";
$result = mysql</e
我有一个有上百万记录的数据库。该表的结构如下:
Filed1:名称(Varchar)(主键)示例:Darrin 256达里尔·维·12目前,我实现了这个解决方案:$query= mysqli_query($mysqli,"SELECT Name FROM record ORDER BY Record DESC");
$rank=0;
if ($query-&