-6ren">
gpt4 book ai didi

php - 如何在 php 中使用 onclick 事件重定向页面?

转载 作者:太空狗 更新时间:2023-10-29 15:24:12 28 4
gpt4 key购买 nike

<分区>

我试过这段代码,但它不起作用,

<input type="button" value="Home" class="homebutton" id="btnHome" onClick="<?php header("Location: /index.php"); ?>" />

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com