[英]How to set mysql output phone number as clickable call link
I am facing the issue is mysql output result contain phone number [pnone] it should be clickable tel: link, please help me , code bellow 我面临的问题是mysql输出结果包含电话号码[pnone]它应该是可点击的tel:链接,请给我帮助,代码如下
This should work: 这应该工作:
<a href="tel:$row['Phone']">$row["Phone"]</a>
Here's more info: https://css-tricks.com/the-current-state-of-telephone-links/ 这是更多信息: https : //css-tricks.com/the-current-state-of-telephone-links/
它对我有用
<td data-title="Phone" class="numeric"> <a href="tel:'.$row["Phone"].'">'.$row["Phone"].'</a></td>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.