Codice PHP:
<?
if(!isset($_GET['page']))
{
if($_GET['page'] == "")
{
?>
<form name="form1" method="post" action="?page=menu">
<table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
<th width="34%" class="testo" scope="row"><div align="right">username</div></th>
<td width="50%"><input name="username" type="text" class="poster"></td>
</tr>
<tr>
<th class="testo" scope="row"><div align="right">password</div></th>
<td><input name="password" type="password" class="poster"></td>
</tr>
<tr>
<th colspan="2" class="testo" scope="row"><input name="Submit" type="submit" class="poster" value="Invia">
{
Codice PHP:
<? include("../config.php"); ?>
</th>
</tr>
</table>
</form>
Codice PHP:
<?
}
elseif($_GET['page'] == "menu")...............
Non funzia ancora