$SQL = "SELECT * from $table"; $result = @mySQL_query( $SQL ); while( $row = @mySQL_fetch_array( $result ) ) { $SQL = "SELECT * from $table"; $result = @mySQL_query( $SQL ); $row = @mySQL_fetch_array( $result ); $sql = "INSERT INTO $table SET FIELD = 'FIELD', FIELD = 'FIELD'"; $query = @mysql_query($sql); $sql = "UPDATE $table SET FIELD = 'FIELD', FIELD = 'FIELD' WHERE ID = '$ID'"; $query = @mysql_query($sql); http://www.ba-dem.com/webifycore title="" title=""