I'm doing a business guide site, but when user views the details of that company the URL appears as follows:
www.nomedomeusite/detalhes.php?id_empresa=24
The id_empresa=24
is catching via $_GET['id_empresa'];
.
I'd like to know if it's meant to be:
www.nomedomeusite/id_da_empresa/nome_da_empresa.html
This would be the link to access:
<a href="detalhes.php?id_empresa=<?php echo $id_empresa; ?>"><button type="button">ver detalhes</button></a>