<extract from 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));
> <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! :))

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to