我認爲這應該在理論上起作用。會嗎?更新mysql_query表單cookie
$sql = "UPDATE users SET credtis = credits+1 WHERE id=echo .($_COOKIE['credits_id']!='');";
if (!($result = $db->sql_query($sql))) {
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
}
你爲什麼不試試呢? – Bojangles