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

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Restricted access to sub-folder in iis6 doesn't work?
Basically I'm trying to add restriction to sub-folder (which contains pdf) in web.config for iis6 as

Linking with Foreign Keys
I have been getting an erro when I try and link:

create table Faculty_Specialty (I_Name v

At max how many columns is advisable to create in a table/view
Hi All,
I have two transaction table from which i want to create a simple view or material

Handling text changed in text box control using Ajax
I need to create a web form with a text box control. When someone types text into the textbox I nee

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

How to get the previous months last date....
Here's my wittle problem. I suck at working with dates.

So today is 10/20/2009, i need to fig

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

gmdate() - want 1 hr before time
Hi,
I am using php gmdate().
Now I am entering all dates in my dbase using gmdate("Y-m-d

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