我正在尝试将 2 个更新查询作为一个`$result 运行,这可能吗,如果可以,有人可以告诉我下面的查询哪里出错了吗?
$query = "INSERT INTO ptb_users (id, user_id, first_name, last_name, email, password )
VALUES('NULL','NULL','" . $firstname . "','" . $lastname . "','" . $email . "',MD5('" . $password . "'))";
mysql_query($query) or dieerr();
$result = mysql_query("UPDATE ptb_users SET ptb_users.user_id=ptb_users.id UPDATE ptb_users SET ptb_users.account_type= \"Client\"");