Chạy thử Ví dụ $_REQUEST trong PHP

Chạy thử Ví dụ $_REQUEST trong PHP

Chạy thử Ví dụ $_REQUEST trong PHP

Tự code rồi chạy thử... Chạy Thử
<!DOCTYPE html>
<html>
<head>
<title>Chạy thử Ví dụ $_REQUEST trong PHP</title>
</head>
<body>
<h1>Chạy thử Ví dụ $_REQUEST trong PHP</h1>

<form method="POST" action"https://webmoi.vn/chay-thu-vi-du-request-trong-php/">
<input type="text" name="hoten" placeholder="Họ tên"><br>
<input type="text" name="email" placeholder="Email"><br>
<input type="submit" name="btnsub" value="GỬI">
</form>
<?php
if($_REQUEST["btnsub"]!=""){
$hoten = $_REQUEST["hoten"];
$email = $_REQUEST["email"];
echo "Họ tên: ".$hoten."<br>";
echo "email: ".$email;
}
?>
</body>
</html>
Chạy thử Ví dụ $_REQUEST trong PHP nằm trong bài viết $_REQUEST trong PHP