string
Posted: Sat Aug 06, 2005 10:30 pm
I'm having trouble with this problem. Hopefully somebody can help me.
Problem:
Using php, I need to create an array with all the matches of the strings starting with the word "INSERT" and end with the ";".
Now, since im new to all this, i thinking I need to use the preg_split() right? Or is something better then this?
Tried using something like this but is not working... probably don't have the right understanding of how it works yet.
Any help will be appreciated.
Problem:
Using php, I need to create an array with all the matches of the strings starting with the word "INSERT" and end with the ";".
Now, since im new to all this, i thinking I need to use the preg_split() right? Or is something better then this?
Tried using something like this but is not working... probably don't have the right understanding of how it works yet.
Code: Select all
/CREATE.*;$/