Buongirono a tutti,
Ho installato su due macchine apache, il modulo php, mysql, phpMyAdmin...
nel sito ho la necessita tramite una maschera di inserire dei dati nel db.. tutto funziona perfettamente su una macchina con win xp pro
nell' altra che ho installato win xp home nn aggiorna il db...
Unica differenza oltre al SO potrebbe essere che sulla macchina con win xp home la versione di mysql e phpMyAdmin è piu' aggiornata..
codice:
<?
$conn = mysql_connect("localhost", "", "");
if ($conn == FALSE) {
print "Errore nella connessione: " . mysql_error();
exit;
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<table width="800" height="210">
<tr>
<td></td>
</tr>
</table>
<table width="800" border="0">
<tr>
<td>
<?
$sql = "SELECT articolo,descrizione,IDIdentificativo, schedaTecnica, schedaSicurezza
FROM prodotti_vari";
$result = mysql_db_query("nomeDb", $sql);
while (($rs = mysql_fetch_array($result)) != FALSE) {
?>