fork download
  1. <!-- lotto.php -->
  2. <!DOCTYPE html>
  3. <html lang="th">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title>แทงหวย</title>
  7. <link rel="stylesheet" href="https://c...content-available-to-author-only...r.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
  8. </head>
  9. <body class="bg-dark text-white">
  10.  
  11. <div class="container py-5">
  12. <h2 class="mb-4">แทงหวย</h2>
  13. <form action="submit_lotto.php" method="POST" class="bg-secondary p-4 rounded">
  14. <div class="mb-3">
  15. <label>ประเภทหวย</label>
  16. <select name="lotto_type" class="form-select" required>
  17. <option value="2 ตัวล่าง">2 ตัวล่าง</option>
  18. <option value="2 ตัวบน">2 ตัวบน</option>
  19. <option value="3 ตัวตรง">3 ตัวตรง</option>
  20. <option value="3 ตัวโต๊ด">3 ตัวโต๊ด</option>
  21. </select>
  22. </div>
  23.  
  24. <div class="mb-3">
  25. <label>เลขที่ต้องการแทง</label>
  26. <input type="text" name="lotto_number" class="form-control" required pattern="\d{2,3}" placeholder="เช่น 23 หรือ 123">
  27. </div>
  28.  
  29. <div class="mb-3">
  30. <label>จำนวนเงิน (บาท)</label>
  31. <input type="number" name="amount" class="form-control" required min="1">
  32. </div>
  33.  
  34. <button type="submit" class="btn btn-warning w-100">ยืนยันการแทง</button>
  35. </form>
  36. </div>
  37.  
  38. </body>
  39. </html>
  40.  
Success #stdin #stdout 0.04s 25484KB
stdin
Standard input is empty
stdout
<!-- lotto.php -->
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <title>แทงหวย</title>
    <link rel="stylesheet" href="https://c...content-available-to-author-only...r.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
</head>
<body class="bg-dark text-white">

<div class="container py-5">
    <h2 class="mb-4">แทงหวย</h2>
    <form action="submit_lotto.php" method="POST" class="bg-secondary p-4 rounded">
        <div class="mb-3">
            <label>ประเภทหวย</label>
            <select name="lotto_type" class="form-select" required>
                <option value="2 ตัวล่าง">2 ตัวล่าง</option>
                <option value="2 ตัวบน">2 ตัวบน</option>
                <option value="3 ตัวตรง">3 ตัวตรง</option>
                <option value="3 ตัวโต๊ด">3 ตัวโต๊ด</option>
            </select>
        </div>

        <div class="mb-3">
            <label>เลขที่ต้องการแทง</label>
            <input type="text" name="lotto_number" class="form-control" required pattern="\d{2,3}" placeholder="เช่น 23 หรือ 123">
        </div>

        <div class="mb-3">
            <label>จำนวนเงิน (บาท)</label>
            <input type="number" name="amount" class="form-control" required min="1">
        </div>

        <button type="submit" class="btn btn-warning w-100">ยืนยันการแทง</button>
    </form>
</div>

</body>
</html>