lonelydragon
Programmer
thanks for help:
i am now serialize and unserialize an array. and in the array , there are some single quote. when serialize the array, i use addslashes because i need to insert the data to the database. to this point everything ie ok. but when i try to unserialze the data from the database, i got an error because the data has some single quote there. any one know how to solve this problem? thanks in billion.
dragon
i am now serialize and unserialize an array. and in the array , there are some single quote. when serialize the array, i use addslashes because i need to insert the data to the database. to this point everything ie ok. but when i try to unserialze the data from the database, i got an error because the data has some single quote there. any one know how to solve this problem? thanks in billion.
dragon