I have this:
<form action="profiles.php" method="POST" name="SearchSimple" id="SearchSimple" >
<input name="search" id="s" style="width: 150px;" type="text">
<a style="display: inline-block; width: 100px; font-weight: bold; cursor: pointer;" id="submitSearchSimple">Search </a>
<script>
$('#submitSearchSimple').click(function() {
javascript:document.SearchSimple.submit();
});
</script>
</form>
It submits fine although when i do
if($_POST["submitSearchSimple"] && isset($_POST["submitSearchSimple"])) {
echo $_POST["s"] . " -TEST";
}
It doesnt show.. I get nothing