简体   繁体   中英

How can i use + in php mail message body for add two number

$message_body="<tr><td>Rs. ".$getOrdPro['price']+$getOrdPro['price2']."</td></tr>";

当我加两个价格时,破坏我的邮件结构

多数民众赞成在一个奇怪的,仍然不知道为什么它搞砸了,但这有效

$message_body = "<tr><td>Rs. $getOrdPro[price]+$getOrdPro[price2]</td></tr>";

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM