People good afternoon am using a system called the collects gammu sms my cell with a command "gammu getallsms" sms me when I pick up the following: gammu getallsms> messages.txt and I keep it in a text file with the following format: messages.txt folder, input code, tray number: +54025487555 SCMD number: 0000000 no coding Date: 25/02/2012 hello this is a test message sms January 1 How could I give a more ordered format command output with php? My idea is to get him into this mysql table but I can not understand how to format it to work on it I could lend a hand?. Greetings to all and thanks!