0
I have a problem with my url, when I go to the pagina php-detailed. it shows in the url the id of the project being detailed, thus:
When I go to the page php project change. if all goes well, I’ll go to the php-detailed. passing the id of the project I changed:
header("Location: projeto-detalhado.php?id='$projeto->getId()'");
The problem is that the urls mix and become a mess and the page detailed design can’t get the project.
NOTE: I’m taking the project id via get to do the search and list the details of it.
$projeto = $projetoDAO->buscaProjetoPorId($_GET['id']);
Is there a function for me to clear the url, and it only has what I sent in the header() ?
Oops ! vlw worked
– RickPariz