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

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

How can use this array as a key?
Say I have this array for example:


print_r($array);

Prints:
Code: [Select]Array

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

cURL Upload Help
OK, I am creating a bridge from a local program to my website and I am trying to find the best way t

big pagination problem in php
<?php

$connect = mysql_connect("localhost", "root", "")

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

timed header image rotation
I have a joomla site and I was trying to setup a rotating image based on timing NOT just refreshing

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