split string


Posted on 16th Feb 2014 07:03 pm by admin

Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Did you know?Explore Trending and Topic pages for more stories like this.
Now, i would obtain this result:
Code: 'toronto','paris','madrid'
How can i do? thanks
No comments posted yet

Your Answer:

Login to answer
115 Like 43 Dislike
Previous forums Next forums
Other forums

Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:

PHP Surveys
I really would like some advice.

If you have a client come to you asking for a survey to be d

Refining of search Criteria
Dear Friends

I need a help, I have a search page which of cars related, which has different s

Check premium expire
Hi,

I am making a simple file hosting site and want to check if users premium subscriptions h

Cloud Computing?
Hello,

I was wondering if anyone could help explain this term to me. I'm starting to hear it

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Syntax Help
Code:


im having trouble with that code snipped
Parse error: syntax error, unexpec

how to timeout $doc = new DOMDocument()->load($url)
I am currently using this $doc->load($url) to fetch an rss feed.
If a feed takes long than

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash