Hey guys, hopefully someone can help me with this, Im working on a script that parses another php file for an import, The file contains an insert statement that i neeed to extract the insert values from. I already have the files contents loaded into a var and i can extract the values i need using a messy combination of substr etc.
So for an example
Code:
INSERT INTO " . TABLE_PREFIX . "tablename (field,field) VALUES (blah,blah)
I need to extract "blah,blah" into a string somehow, anyone have any idea's?
Cheers