how can i split words between comma ?

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
ScOrPi
Forum Commoner
Posts: 44
Joined: Fri Jul 09, 2010 8:01 am
Location: BAGHDAD - IRAQ

how can i split words between comma ?

Post by ScOrPi »

Hi all ,

how are you ? :roll:

I've just tiny problem ..

how can i split a string ?

not any string .. i want to write tags like (usa , iraq , php , all , set , ...)

how can i get every word in each time .. i mean is there any function can make that tags to array ? or even just split between the comma ?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: how can i split words between comma ?

Post by John Cartwright »

ScOrPi
Forum Commoner
Posts: 44
Joined: Fri Jul 09, 2010 8:01 am
Location: BAGHDAD - IRAQ

Re: how can i split words between comma ?

Post by ScOrPi »

explode () ..


thaaanks i found the solution
ScOrPi
Forum Commoner
Posts: 44
Joined: Fri Jul 09, 2010 8:01 am
Location: BAGHDAD - IRAQ

Re: how can i split words between comma ?

Post by ScOrPi »

John Cartwright wrote:explode()

thank you bro ... :D

it's so useful :)
Post Reply