0
I am setting up a panel for financial control of a MEI company (This is my company). I am developing the order part, follow doubt:
The point is, I already use this GET
to search the pages, how could you add to this link to take the request ID to show in the other field?
Example of the Link:
<a href="index.php?Pagina=pag&filtro=pedido">Pedidos de Vendas</a>
This Code is in the index
to catch the link:
<?php
if(isset($_GET['Pagina']))
{
$pagina =($_GET['Pagina']);
if(file_exists('arquivos/'.$pagina.'.php'))
{
@include_once("arquivos/$pagina.php");
}
else
{
@include_once("arquivos/404.php");
}
}
else
{
if(file_exists('arquivos/home.php'))
{
@include_once("arquivos/home.php");
}
else
{
@include_once("arquivos/404.php");
}
}
?>
If I understood what you asked: just go breaking up the pairs with & this way
index.php?Pagina=pag&filtro=pedido&numero=37&outrocampo=ABC&detalhado=sim
- want to confirm if this is the question, so that it is possible to formalize a response. If it is not, please [Dit] your question and explain a little better, please.– Bacco
That’s right! Thank you very much helped!
– Renan.Pecanha