View Single Post
  #1 (permalink)  
Old 07-07-09, 01:06 AM
phpdoctor's Avatar
phpdoctor phpdoctor is offline
Code Guru
 
Join Date: Feb 2007
Location: New Zealand
Posts: 752
Thanks: 1
Thanked 0 Times in 0 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
Reply With Quote