Html:
<form action="" method="get">
<input type="hidden" name="categoria" value="Websites">
<button type="submit">Websites</button>
</form>
<form action="" method="get">
<input type="hidden" name="categoria" value="Games">
<button type="submit">Games</button>
</form>
Cuando ejecuta, no hace caso al if
y sigue apareciendo como si nada,
Aquí mi PHP
:
<?php
if(isset($_GET['categoria']) == "Websites"){
?>
<article id="ArtWebSite Oculto" class="">
<form action="?view=buscarW" role="search" method="POST">
<div class="divSearch">
<input type="text" name="busqueda" placeholder="Search about the programing Websites" required>
</div>
<button type="submit"> <i class="fa fa-search"></i> </button>
</form>
</article>
<?php
}
if(isset($_GET['categoria']) == "Games"){
?>
<article id="ArtGames Oculto" class="">
<form action="?view=buscarG" role="search" method="POST">
<div class="divSearch">
<input type="text" name="busqueda" placeholder="Search about the Games" required>
</div>
<button type="submit"> <i class="fa fa-search"></i> </button>
</form>
</article>
<?php
}
if(isset($_GET['categoria']) && $_GET['categoria'] == "Websites")
.