Hi,

I am trying to insert compressed data into a database.

Inserting it in seems to work file:

$data = addslashes(gzdeflate($data, 9));
<insert into database>

For the most part it works on reteiving the data but sometimes the data is unreadable.

<extract from database>
$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

Reply via email to