Thread
:
Santize string to be serialize?
View Single Post
#
1
(
permalink
)
07-07-09, 01:06 AM
phpdoctor
Code Guru
Join Date: Feb 2007
Location: New Zealand
Posts: 767
Thanks: 4
Thanked 2 Times in 2 Posts
Santize string to be serialize?
Hi,
Is there a function or script that can make sure a string can be stored with serialize?
Its got html tags and alsort in it...
PHP Code:
$store
=
serialize
(array(
'content'
=>
$string
));
I know this is not the best way to store stuff... this is some super old code
Thanks,
Lex
__________________
01010000 01001000 01010000
phpdoctor
View Public Profile
Find all posts by phpdoctor