salve a tutti volevo chiedervi un aiuto inportante perche mi sto esaurendo e non riesco trovare una soluzione, vi spiego un po il lavoro, sto facendo una pagina chiamata setting.php in questa pagina quando l amministrazione ,sempre da pannello di controllo va sul menu di navigazione su configura, e si apre sta benedetta paggia. io in questa uni pagina sto provando ad inserire tutti i contenuti,di argomenti diversi,diciam che quasi sono riuscito ma ho un problema che cerchero di spiegarvi ....come prima cosa alla paggina ho messo una if?
<TABLE>
ADESSO IL PROBLEMA E FUNZIONA PERO IN OGNI PAGGINA MI DA ANCHE IL MESSAGGIO DELL :Codice PHP:
<?PHP
if(!$_GET['setting']){
//QUA C E IL MENU VISTO CHE NON RICEVE IL GET SETTING E HO PENSATO BENE DI //USARLO ALL APERTURA
?>
<tr>
<td>
<table class="titlesetting" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="icontexttitlesetting"></td>
<td class="texttitlesetting"><?php echo "Settings";?></td>
</tr>
</table>
</td>
</tr>
<?}else{
if(!isset ($_GET['setting'])OR $_GET['setting'] =="general_setting"){?>
<tr>
<td> //QUA CI SARANNO I CONTENUTI
<table class="titlesetting" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="icontexttitlesetting"></td>
<td class="texttitlesetting"><?php echo "Settings";?></td>
</tr>
</table>
</td>
</tr>
<?}else{
echo"errore nell accesso della paggina";
}?>
if(!isset ($_GET['setting'])OR $_GET['setting']=="user_registration_setting"){
<tr>
<td> //QUA CI SARANNO I CONTENUTI
<table class="titlesetting" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="icontexttitlesetting"></td>
<td class="texttitlesetting"><?php echo "Settings";?></td>
</tr>
</table>
</td>
</tr>
<?}else{
echo"errore nell accesso della paggina";
}
}?></TABLE>PERCHE SECONDO VOICodice PHP:
else{
echo"errore nell accesso della paggina";
}