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

asking for direction
I have 2 tables in my data, which are "post" and "event"
I won't make a summa

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

Product categories for registration
Dear all,

We are going live with the Supplier registered next week. At standard, the 'sel

Save User Inputs while javascript reloading!
hi..
i have written a PHP code in which i reload the page when user selects a value in dropdown..

Redirecting Admin
In my members table, I have a field called "perm" and it's set to zero for all members. Ho

Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

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