网中网 发表于 2018-12-23 10:42:58

Prototye+Scriptaculous+Ajax+PHP实例(items.php)

$query = sprintf('update items set ranking = %d where item_id = %d',  $ranking,
  $id);
  mysql_query($query);
  $ranking++;
  }
  return true;
  }
  ?>

页: [1]
查看完整版本: Prototye+Scriptaculous+Ajax+PHP实例(items.php)