I am setting up a financial control panel for a MEI company (This company is mine). I'm developing the part of the requests, doubt follows:
The issue is that I already use this GET
to fetch the pages, how could I add that link to take the order ID to show in the other field?
Link Example:
<a href="index.php?Pagina=pag&filtro=pedido">Pedidos de Vendas</a>
This code is in index
to get 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");
}
}
?>