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
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

How to change www in url with a specified name
Hi
I'm trying to change the url http://www.sitename.com/apparels to something like below
http:

Update not working ... please help
Hi,

I am trying to update a row using an edit form by passing id of the row .. but it is not

pageination not working right... coping images over 4 pages
Code: <?php //This code will obtain the required page number from the $_GET array. Note that

Two fgetcsv related questions ;D
First of im trying to get a file from a merchants server but the directory is protected, I know the

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

Scene graph using Direct3D?
There are several C++ scene graph based packages available for OpenGl, like say OSG,

http://w

division gives infinity anser
int main()
{
int z=0;
int i=1/z;
cout<
}

It doesn't throw a

How to create a static html menu from a database
Hi,

I have built a small cms which allows me to create simple html pages and then upload them

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

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