I have a PHP script that uses MagicParser to extra data from a XML feed into a MYSQL DB.
At the moment it insert all records from the XML file however I would like to be able to insert only certains records based on an IF EXISTS. Is this possible?
Basically want to be able to say: IF "event-eventname" contains "xyz" then parse only following records into db.
Below is my PHP file, happy to share XML path Dave if you need it or not.