EQ2 Parser text

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aybra
Forum Commoner
Posts: 56
Joined: Sun Nov 24, 2002 12:52 am

EQ2 Parser text

Post by aybra »

I have this ruff script I want to explode so i can put it into a mysql database and access it as needed...
(1106705704)[Tue Jan 25 19:15:04 2005] \aPC -1 Aybra:Aybra\/a tells you,"That taunt you got me kicks butt"
I have trolled for a while now and cant find a way to explode it in just that manner...
1106705704 Tue Jan 25 19:15:04 2005 PC Aybra tells you That taunt you got me kicks butt

the DB is set up with (ID=1106705704) (date=Tue Jan 25 19:15:04 2005) (type=PC) (charF=Aybra) (ttype=tells you) (message=That taunt you got me kicks butt)


Is there a way to do what I want? Well.. within my scope of reason any how?

thanks Aybra
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

preg_split()
Post Reply