I would like to validate the id of the GET without javascript, only with php. I'm having a hard time.
<a id="exemplo-'.$resultado['id'].' " href="pagina.php">
<?php
/*com javascript*/
$id = explode('-',$_POST['exemplo']);
$ext = end($id);
/*com O php se valida id assim?*/
$id = explode('-',$_GET['exemplo']);
$ext = end($id);
?>