I have a table named OPERATORI and anothe one calle OPERATORI DEFUNTI
parsing an xml I'm able to put id and name in OPERATORI but I need to put also in OPERATORI DEFUNTI the same ID I put in OPERATORI
here is my code:
$results = mysql_query("SELECT ID FROM OPERATORI");
while ($row = mysql_fetch_assoc($results))
{
$sql = "INSERT INTO OPERATORI DEFUNTI VALUES ('$row','')";
mysql_query($sql);
}
But the result in OPERATORI DEFUNTI IS array,0