Re: [PHP] Help inserting compressed data into a mysql database
$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 sometimes the data is > unreadable. > > > $data = @gzinflate($data); > > What is the best way to be able to store any charater in the database so > that I can guarantee the data is going to be good? > > Thanks! :)) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help inserting compressed data into a mysql database
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 any charater in the database so that I can guarantee the data is going to be good? Thanks! :)) -- __ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php