Re: [PHP] Help inserting compressed data into a mysql database

2003-06-16 Thread Bas Jobsen
$data = @gzinflate(stripslahes($data)); Op maandag 16 juni 2003 18:03, schreef u: > Hi, > > I am trying to insert compressed data into a database. > > Inserting it in seems to work file: > > $data = addslashes(gzdeflate($data, 9)); > > > For the most part it works on reteiving the data but somet

[PHP] Help inserting compressed data into a mysql database

2003-06-16 Thread Mr Percival
Hi, I am trying to insert compressed data into a database. Inserting it in seems to work file: $data = addslashes(gzdeflate($data, 9)); For the most part it works on reteiving the data but sometimes the data is unreadable. $data = @gzinflate($data); What is the best way to be able to store