ciao raga ho questo codice:
Codice PHP:
<?php
# Recupero il valore di lang
$lang = $_GET['lang'];
# Se la variabile lang è nulla viene selezionata di default
# la lingua italiana (it)
if ($lang == FALSE)
{
$lang = "it";
}
# Includo il file di linguaggio interessato
require("{$lang}.php");
# Stampo a video il testo nella lingua selezionata
echo $output[0] . " " . $output[1] . "
";
echo $output[3] . "
";
# Aggiungo dei link per cambiare la lingua
echo "Select your language:
";
echo "[url='" . $_SERVER[']IT[/url] - ";
echo "[url='" . $_SERVER[']EN[/url] - ";
echo "[url='" . $_SERVER[']DE[/url] - ";
echo "[url='" . $_SERVER[']FR[/url]";
?>
Mi dite come separarlo in questa pagina:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento senza titolo</title>
</head>
<body>
<table width="200" border="1">
<tr>
<td colspan="3"></td>
</tr>
</table>
</body>
</html>
come faccio a mettere echo $output[0] . " " . $output[1] . "
";
echo $output[3] . "
";
dentro la tabella io ci provo mi da sempre errore oppure mi stampa solo echo e basta