CODE
<?php
if(isset($_POST['PostBtn'])){
echo($_POST['Title']);
}
?>
</ul>
</div>
<div class="col-sm-8">
<?php
echo <<<HTML
<form method="post" action="">
<input type="text" name="Title" class="title-text" placeholder="Give your post a title...">
<br/><br/>
<textarea class="form-control post-text" name="Post" required></textarea>
<br/>
<input type="submit" name="PostBtn" value="Post Now" class="btn btn-primary">
</form>
HTML;
?>
Does anyone know why this code would not work??? I talked to my host and they don't see any reason why this wouldn't work? (I did not worry about sanitization or anything bc this is just for testing purposes) I get absolutely no errors and that's with strict reporting.I refresh the page and the form doesn't even show up? Even emptying cache doesn't work, I had to destroy the session just to get the form to reappear?? Removing the if statement does nothing either
Works fine locally