php - Making html page appear on click of submit button -


i trying make page appear when click button, know how this, time in trouble.i have following code:

<html>   <head>      <meta charset="utf-8"/>   </head>   <body>     <!--see siin tekstiväli-->       <h3>minu küsitlused </h3>  <hr> <br> <br> <br>  <ol>  <?php include_once 'init/init.funcs.php'; $result = mysql_query('select * katse_kysimustik_pealkiri'); while($row = mysql_fetch_assoc($result)) {          $titles[] = $row['pealkiri'];   }  foreach($titles $title) {   ?>  <li>     <?php echo $title ?>      <form action='minu_kysitlused_1.php'>       <input type="button" name = "saada" value="saada">       <input type="button" value="tulemused">       <input type="button" value="lõpeta ennetähtaegselt">       <input type="button" value="x">     </li>    </form>  <?php } ?> </ol>   </body> </html>  <?php if(isset($_post['saada'])){ echo "<meta http-equiv='refresh' content='0;url=http://localhost/praks/saada.html'>"; }  ?> 

everything works fine when click button 'saada' nothing happens. should make saada.html appear on click?

replace this:

<form action='minu_kysitlused_1.php'  method="post"> 

missing:

 method="post"  

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -