以下のコードに問題がある人はいますか?
前もってありがとう、ダン。
$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);