php按键跳转网页

<td> <input type="button" name="提交" value="机顶盒" style="height:60px;120px" onclick="window.location.href='目标地址'"/> &nbsp;</td>

如:
<td> <input type="button" name="提交" value="机顶盒" style="height:60px;120px" onclick="window.location.href='home.php'"/> &nbsp;</td>

<td> <input type="button" name="提交" value="机顶盒" style="height:60px;120px" onclick="window.location.href='http://www.baidu.com'"/> &nbsp;</td>

原文地址:https://www.cnblogs.com/ldcb/p/4683242.html