Answers for "button href php"

1

link input button in php

<input type=button onClick="parent.location='index.html'" value='click here'>
Posted by: Guest on July-18-2020
4

add link behind a button in html

<!DOCTYPE html>
<html>
   <head>
      <title>Title of the document</title>
   </head>
   <body>
      <form>
         <input type="button" onclick="window.location.href = 'https://www.w3docs.com';" value="w3docs"/>
      </form>
   </body>
</html>
Posted by: Guest on May-13-2020
-1

php button to another page

<?php
if(isset($_POST['submit'])){
header("Location: http://www.example.com/page.php");
exit;
}
Posted by: Guest on March-15-2020

Browse Popular Code Answers by Language