Reply to pear DB converting ' to &#039 - how to convert back?

Your name:

Reply:


Posted by Paul on 01/08/07 18:20

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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация