[英]Please how do I display a message that contains a clickable hyperlink? I have tried using the code here but not working. Thanks
echo "<script language='Javascript'>
alert('You have yet to pay. Please use the "<a href='https://url'>Pay Fee</a>" link to complete payment and proceed. Thank you.')
window.location=\"home.php\"
</script>";
像這樣嘗試:
$link = "<a href=\"https://url\">Pay fee</a>";
echo ("
<script>
window.alert(\"You have yet to pay. Please use the {$link} link to complete payment and proceed. Thank you.\");
window.location=\"home.php\";
</script>");
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.