• February 16, 2023
    <form>
      <label>Plan:</label>
      <br>
      <input type="radio" name="plan" value="1"> Plan 1
      <input type="radio" name="plan" value="2"> Plan 2
      <input type="radio" name="plan" value="3"> Plan 3
      <input type="radio" name="plan" value="4"> Plan 4
      <input type="radio" name="plan" value="5"> Plan 5
      <br><br>
    
      <label>PC:</label>
      <br>
      <select name="pc">
        <option value="10000">10,000</option>
        <option value="20000">20,000</option>
        <option value="25000">25,000</option>
        <option value="30000">30,000</option>
        <option value="40000">40,000</option>
        <option value="50000">50,000</option>
      </select>
      <br><br>
    
      <label>AGEM:</label>
      <br>
      <select name="agem">
        <option value="1475">1475</option>
        <option value="2950">2950</option>
        <option value="2213">2213</option>
        <option value="4425">4425</option>
        <option value="5900">5900</option>
      </select>
      <br><br>
    
      <label>Value Slider A:</label>
      <br>
      <input type="range" min="0" max="100" step="1" name="value_slider_a" value="0">
      <br><br>
    
      <input type="submit" value="Submit">
    </form>
    
    <?php
      if(isset($_GET['plan']) && isset($_GET['pc']) && isset($_GET['agem']) && isset($_GET['value_slider_a'])) {
        $plan = $_GET['plan'];
        $pc = $_GET['pc'];
        $agem = $_GET['agem'];
        $value_slider_a = $_GET['value_slider_a'];
    
        $sum = $pc + $agem;
    
        echo "Plan: " . $plan . "<br>";
        echo "PC: " . $pc . "<br>";
        echo "AGEM: " . $agem . "<br>";
        echo "Value Slider A: " . $value_slider_a . "<br>";
        echo "Sum of PC and AGEM: " . $sum;
      }
    ?>
    


เวอไนน์ไอคอร์ส

ประหยัดเวลากว่า 100 เท่า!






เวอไนน์เว็บไซต์⚡️
สร้างเว็บไซต์ ดูแลเว็บไซต์

Categories


Uncategorized