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,

290 Like 20 Dislike
Previous php-forum Next php-forum
Other php-forum

Using mysql_real_escape_string for displayed content
On my website users can input data into a textarea and it will store it in the mysql database. But,

Procedural to OOP
ohn Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pri

Help building / using array
First - this is a cross-posting, if this is wrong I apologise! What started out as a MySQL query que

add text and number image
hi guys ..

ok see i want the user to add their name and pick a number then click get it and i

SQl num_rows problem
when i try to count rows from an SQL select i get an warning

Code: [Select]$countviews = mysq

Multiple if statements
Ok so seems basic but for some reason I'm not doing it right. What I want is to be able to have 2 se

convert static html data into dynamic
hi all

i need to convert a website which has static above 2000 articles into dynamic and add

Multiple PHP errors when clicking a link..and..removing a ghost..
Hi - I have 2 problems with a new website - homeswapvacations.com, which I need help solving.

Please help with code for SMTP authenticated PHP email form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authenticat

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

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