Profile
Achievement
jgomez's Recent Snippets
- All /
« Prev 1 Next »
Example: There is a table, 'user', with a column, 'clear', containing values such as:
`clear
--------
\'animal\'
\'pass'\
`
and we would like to retrieve 'animal' and 'pass' ( without the pre & post \' )
0
958
posted 12 years ago by jgomez
If you want to use this in a class, change the last line to:
` return array_map(array($this, __FUNCTION__), $object ); `
0
776
posted 12 years ago by jgomez