Im using a quite complicated script for parsing XML
so ill try to explain:
Im parsing from an XML file
As you can see there there are a number of fields. But my script now only parses the first one, as i need to parse them all, The problem here is in the ID, i can make him check or there is an ID change, and if there is 1 it goes to the next line, but the id is not changed them but added so:
first attack id: 1
second attack id added to the db: 1 2
third one : 1 2 3
fourth one: 1 2 3 4
as over 8000 lines are added to the real XML file im gonna use, it is kind off flooding my DB
any suggestions?
so ill try to explain:
Im parsing from an XML file
As you can see there there are a number of fields. But my script now only parses the first one, as i need to parse them all, The problem here is in the ID, i can make him check or there is an ID change, and if there is 1 it goes to the next line, but the id is not changed them but added so:
first attack id: 1
second attack id added to the db: 1 2
third one : 1 2 3
fourth one: 1 2 3 4
as over 8000 lines are added to the real XML file im gonna use, it is kind off flooding my DB
any suggestions?