insert quotes


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

Hi,

I have an output like this:
Code: john,18,Cancer
How can I change this to
Code: 'john','18','Cancer'with php?

Thanks in advanced,

No comments posted yet

Your Answer:

Login to answer
290 Like 20 Dislike
Previous forums Next forums
Other forums

extending tidy
I have problem with type-hinting and extending tidy. This code creates error:
Code: class cMyTidy

Searching keywords from array
Hello everyone, Im just wondering if someone could help me with another issue im having. Im still le

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

selectbox+database connection retrive problem
Code: [Select]
<tr>
<th align="left" scope="c

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

C problem struct and string
Hi guys,

This is my first post and I'm hoping the experts here can help me solve my problem.<

that old Malformed Headers problem again!!!!! HELP!!!!!!
I've read the http://www.phpfreaks.com/forums/index.php/topic,37442.0.html

I don't think my c

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

Place specific image in html page when specific name is typed.
Hello,

Fairly new to PHP and was curious if someone might know how to solve a fairly simple r

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

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