Hi guys, this might seem very simple but I don’t know where is the issue, please check the code:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
<form action="test9.php" method="get">
Name:<input type="text" name="Name">
Age:<input type="text" name="Age">
<input type="submit">
</form>
<br>
Your Name is :<?php echo $_GET["Name"] ?>
<br>
Your Age is: <?php echo $_GET["Age"] ?>
</body>
</html>
Error:
Your Name is :
Notice : Undefined index: Name in C:\laragon\www\test\test9.php on line 14
Your Age is:
Notice : Undefined index: Age in C:\laragon\www\test\test9.php on line 16