first, thanks for the response
I have to question from you:
1)How do you read lines from your file or how do you read your file
it's actually an email that i take from sendmail as text
looks like this:
1.1.1.1 | down(2) | num2.testtx01.us.bb | | "POS0/1/3"
1.1.1.1 | down(2) | num2.testtx01.us.bb | | "POS0/2/0 xxxxxxxxxx"
1.1.1.1 | down(2) | xxx.bb | fxp0 | "unused"
| down(2) | num2.testtx01.us.bb | | ""
2)What type of file do you read
right now, i'm just inserting with load data infile, but the problem is that the line ends even though i haven't pulled all the info
so if i can tell php/mysql to take until the second ", i'd be golden
please let me know if you need any more info
My first ideea is to read your file with php file() function who put ol the lines from your files into an array().
Tell me more about your problem an maybe I could help you.