任何人都可以看到下面的代码有问题吗?
在此先感谢,丹。
$sql = mysqli_query("SELECT * FROM tablename.all_customers WHERE Account Ref = '$accno1'");
$row = mysqli_fetch_array($sql);
$Customer_Name = $row['Customer_Name'];
$message = "Hi, $Customer_Name \n Your order has been dispatched with UK Mail, you can track it here using $conno1";
$message = wordwrap($message, 70, "\r\n");
$to = $row['email_address'];
$headers = "From: <order-confirmation@email.com>";
mail($to,"In Phase Test",$message,$headers);