我想要這個查詢從我的數據庫請求擴展和部門。我可以讓它只與其中的一個工作,但不能同時工作。請求多個字段的查詢
代碼:
$this_user_ext =$_REQUEST['extension']; <----This line here I need 'department' in it as well.
// sending query
mysql_query("DELETE FROM users WHERE extension = '$this_user_ext'")
or die(mysql_error());
if($_POST['action'])
{
include('maildelete.php');
$extension=$_POST['extension'];
header("Location: index.php");
}
你想在同一時間或不同的使用和你能解釋更多 – gaurav
我想用它作爲如果可能的話,同時請。謝謝先生@gaurav – RedZ
比你可以同時使用另一個變量'$ a = $ _REQUEST ['department']'。 – gaurav