これは本当に簡単だと思いますが、私は気が狂います!
<p>'.printHistory($result).' </p>
上記は私のhtml電子メールからのコードのスニペットであり、これは関数printHistory
です:
function printHistory($result){
$hisNum=0;
foreach ($result as $item){
"<b><u>update Number </u></b>".$hisNum."<br/>";
"<b>Time: </b>". $item['start_time']."<br/>";
"<b>Date: </b>". $item['date']."<br/>";
"<b>Comment: </b>". $item['comment']."<br/>";
$hisNum=$hisNum+1;
}
}
エラーは表示されませんが、テキストが電子メールに出力されません。どんな助けでも大歓迎です!