<html>
<head>
</head>
<body>
<p>Enter your Internet Protocol Address, make sure it is correct</p>
<form action ="php.php" method="post">
Internet Protocol Address: <input type ="text" name ="internet address"><br>
<input type ="submit" value="submit">
</form>
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$retrieve_ip = $_GET['internet address'];
if ($ip == $retrieve_ip) {
print "$retrieve_ip is your correct Internet Protocol Address";
} else {
print " No $retrieve_ip is not your address, $ip is your address";
?>
</body>
</html>
This is my code and this is the error it produces, Parse Error on line 20, sorry im really new to PHP (1 day now)😉
Thankyou