Código PHP:
<tr>
<td width="18"><img src="index/menu/imghome.gif" width="18" height="17" /></td>
<td width="128"><a href="asd"><img src="index/menu/lethome.gif" width="42" height="17" border="0" /></a></td>
</tr>
<tr>
<td colspan="2"><samp class="linksdemenu">
<?php
$mn = $_GET['mn'];
switch($mn){
default:
include("index/menu/seccions/home.php");
break;
}
?>
</samp></td>
</tr>
<tr>
<td><img src="index/menu/imghabbo.gif" width="13" height="16" /></td>
<td><a href="index.php?mn=menu2"><img src="index/menu/lethabbo.gif" width="46" height="16" border="0" /></a></td>
</tr>
<tr>
<td colspan="2"><samp class="linksdemenu">
<?php
$mn = $_GET['mn'];
switch($mn){
case 'menu2':
include("index/menu/seccions/habbo.php");
break;
}
?>
</samp></td>
Lo que quiero lograr es que cuando aga clic en el segundo boton osea que cargue este codigo:
Código PHP:
<?php
$mn = $_GET['mn'];
switch($mn){
case 'menu2':
include("index/menu/seccions/habbo.php");
break;
}
?>