|
Posted by Adam Harvey on 01/09/07 06:01
On Mon, 08 Jan 2007 13:20:34 -0500, Paul wrote:
> I have tested my logic flow and determined that the conversion from what is
> given to the
> $db->prepare() statement and what is stored in the database iteslf goes
> from:
>
> "I'm helpful"
> to
> "I'm helpful"
>
> is converted by pear's DB. I am using $db->prepare() statement. When I do
> a print_r() of $db after the prepare(), it does display:
> ...., field2 = 'I'm helpful', field3=....
>
> but what ends up in the database is:
> "I'm helpful"
>
> I'm using PHP 4.3 and have tried html_entity_decode() and others
> unsuccessfully.
>
> Any ideas?
That certainly doesn't seem like something DB would or should do. Can you
tell me exactly what version of PHP and DB you have installed, please,
along with the DB driver you're using (pgsql, oci8, etc)?
Thanks,
Adam (PEAR DB maintainer)
Navigation:
[Reply to this message]
|