ไฟล์แรก รับค่า สมมติ ป้อน eee ใน texbox
<html>
<head><title>Form using GET method</title></head>
<body>
<form action="get.php" method="get">
Name <input type="text" name="uname"><br />
<input type="submit" value="Submit Info">
</form>
</body>
</html>
ไฟล์ 2 รับค่ามา
get.php
<?php
$name = $_GET['uname'];
echo "Name is $name <br /> ";
?>
<form id="form1" name="form1" method="post" action="post
">
<input name="name" type="text" id="name" />
</form>
eee ค่าที่ได้ ไม่อยุ่ใน textbox ครับ
ภาษาไทย สำหรับ phpBB เวอร์ชั่นล่าุด คือ 3.2.2
มาแล้วโหลดได้เลย
มาแล้วโหลดได้เลย
method ของ php ให้ส่งค่าลง texbox ทำไง
Moderator: phpbb, mindphp, ผู้ดูแลกระดาน
-
- phpBBThailand Newbie
- โพสต์: 1
- ลงทะเบียนเมื่อ: 07 ก.ค. 2017, 12:40
ผู้ใช้งานขณะนี้
กำลังดูบอร์ดนี้: 219 และ บุคคลทั่วไป 0 ท่าน