ciao supersavio!

ecco il codice...

il PHP inizia con:

<?php
//Connection statement
require_once('../Connections/connection.php');

// begin Recordset
$varlang = 'IT';
if (isset($_GET["lang"])) {
$varlang = $_GET["lang"];
}

$query_rstProd = "SELECT * FROM pages WHERE pageNome = '". substr($_SERVER['PHP_SELF'], (strrpos( $_SERVER['SCRIPT_NAME'], "/") + 1)) ."'";
$rstPage = $connection->SelectLimit($query_rstProd) or die($connection->ErrorMsg());

?>

<?php
//Connection statement
require_once('../Connections/connection.php');

// begin Recordset
$colname__rstnewssez = 'IT';
if (isset($_GET['lang'])) {
$colname__rstnewssez = $_GET['lang'];
}
$query_rstnewssez = printf("SELECT * FROM newssez WHERE newsLingua = '%s' ORDER BY IDnews ASC", $colname__rstnewssez);
$rstnewssez = $connection->SelectLimit($query_rstnewssez) or die($connection->ErrorMsg());
$totalRows_rstnewssez = $rstnewssez->RecordCount();
// end Recordset


//PHP ADODB document - made with PHAkt 3.6.0
?>




ALL'INTERNO DELLA PAGINA, PER VISUALIZZARE IL TESTO DELLA NEWS USO:

<tr>
<td width="285" height="150"></td>
<td width="220" height="150" valign="middle">[img]../_images/news01.jpg[/img]</td>
<td width="700" align="left" valign="middle" class="site-text"><?php echo $rstnews->Fields("newsTesto$varlang") ?></td>
</tr>



scusate per le spaziature nella copiatura del codice, ma non ho ancora capito come gestirla...

:P