Parsing Text Strings

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
inosent1
Forum Commoner
Posts: 97
Joined: Wed Jan 28, 2009 12:18 pm

Parsing Text Strings

Post by inosent1 »

I have a field of data that looks like this

12 | 20 | important_text_here

I want to place the above text into to separate fields in the DB using the " | " as a divider
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Parsing Text Strings

Post by Celauran »

inosent1
Forum Commoner
Posts: 97
Joined: Wed Jan 28, 2009 12:18 pm

Re: Parsing Text Strings

Post by inosent1 »

thanks!
Post Reply