Jump to content

[SOLVED] the button wont work ,why?


zgkhoo

Recommended Posts

<?php
session_start();

if(isset($_P0ST['click'])){	
   echo "button clicked";


    $_SESSION["serial1"]= $_POST["serial1"];
 	//$_SESSION["code_type"]= $_POST["code_type"];
 	//$_SESSION["spoint"]= $_POST["spoint"];
 	//$_SESSION["screate_date"] = $_POST["screate_date"];
 	//$_SESSION["sexpiry_date"]= $_POST["sexpiry_date"];
  // header ('Refresh:2;url=placebet3.php');


}
?>


<html>
<body>
<form action="add1card.php" method="POST">
  <table border="1">
    <tr> 
      <td width="181">Serial Number</td>
      <td width="168"> 
        <input type="text" name="serial1" />
      </td>
    </tr>
    <tr> 
      <td width="181">Activate Code Type</td>
      <td width="168"> 
        <select name="code_type">
          <option value="Character(Big Letter)">Character(Big Letter)</option>
          <option value="Character(Small Letter)">Character(Small Letter)</option>
          <option value="Number">Number</option>
          <option value="Mix">Mix</option>
        </select>
      </td>
    </tr>
    <tr> 
      <td width="181">Point</td>
      <td width="168"> 
        <input type="text" name="spoint">
      </td>
    </tr>
    <tr> 
      <td width="181">Created Date</td>
      <td width="168"> 
        <input type="text" name="screate_date">
      </td>
    </tr>
    <tr> 
      <td width="181">Expirly Date</td>
      <td width="168"> 
        <input type="text" name="sexpiry_date">
      </td>
    </tr>
    <tr> 
      <td width="181"> 
        <input type="reset" name="reset" />
      </td>
      <td width="168"> 
        <input type="submit" name='click'/>
      </td>
    </tr>
  </table>
<!--</td>
</tr>
</table>-->
</form>
</body>
</html>


 

testing for many time, the button still wont work...

why?

thanks..

Link to comment
https://forums.phpfreaks.com/topic/75582-solved-the-button-wont-work-why/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.