ciao raga, non so perchè ma il . non funge in questo script...
Codice PHP:
<?php
include('./cfg.php');
connect();
$query = "SELECT * FROM prodotti";
$select = @mysql_query($query) or die("Query fallita !");
echo "
<div align=\"left\"> <table border=1>
";
while($result = @mysql_fetch_array($select)) {
$post = ("?id=" . $result["Id"]);
echo " <tr>\n <td align=\"center\">" . $result["Id"] . ' ' . $result["Casa"] . ' ' . $result["Modello"];
echo "
" . $result["S_Descrizione"];
$stringa = ("</td>\n <td valign=\"top\"> <a href=\"detail.php?id=\"" . $post . " target=\"_blank\">Dettagli</a>
<a href=\"delete.php?id=\"" . $post . " target=\"_blank\">Elimina</a></td>\n"); //questi due . non fungono...
print $stringa;
echo " <td valign=\"top\">";
}
echo "</td>\n </tr>\n";
echo "</table>\n</div>\n";
close();
?>