I've been playing around with PHP but POST & GET seem to never work properly. I've looked all over trying to understand why my html elements cannot be found through their name tags to no avail.
The most common response was to add: if(isset($_POST[...])) but when this is included, the form never goes through as it always returns false.
<html>
<body>
<form action="" method="post">
<input type="text" placeholder="name here" name="name">
<input type="submit" name="submit" value="Show name">
</form>
</body>
<?php
if(isset($_POST["submit"])){
echo $_POST["name"];
}else echo "No name";
?>
</html>
Is this an interpreter issue? I have replicated other people's sample code in which theirs works but I am still faced with the same issues.