[thelist] PHP: How to quote string in a list?

Francis Marion francis.marion at sfroy.com
Thu Sep 1 15:20:44 CDT 2011


I have a list of strings that looks like this:

a,b,c

I would like to do this (for a SQL IN () selector)

'a' , 'b' , 'c'

How do I go about doing this in PHP?



Thanks!


--
Francis Marion

Départment Web
Signé Francois Roy

francis.marion.roy at sfroy.com
(819) 336-6746 x 236



More information about the thelist mailing list