Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.