insert quotes


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

Hi,

I have an output like this:
Code: john,18,Cancer
Did you know?Explore Trending and Topic pages for more stories like this.
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

Map.php
I am a complete beginner to PHP and am looking for some help with a program I am messing around with

Calculus Help (and by help I mean homework)
Hrmmm, I hate posting about math homework, partly because it's homework, and partly because I hate w

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?

Select Rows as Columns..
is there a way to select COLUMN_NAME from user_tab_columns where table_name='TABLENAME';
and ha

Setting/Modify Headers using mail() function
I have a question about setting email headers when using mail() in a php script.

When I send

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

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

Problem with coding MySQL query
I'm having heaps of trouble getting one of my PHP/MySQL queries to work for some reason (and the fun

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