我必须执行第一个查询,即SELECT * from table WHERE NOT column=0,并使用该查询的结果来执行一个foreach循环,如下所示。foreach($results as $result) { //Use nox for whatever;
//Then update some
$result = mysql_query("SELECT url, title FROM site ORDER BY id DESC");
$db = new DBrow and returns an associative array where the keys in the array are the column names in the row setpublic function update($data, $table, $where