[PHP-DB] PHP5 classes mysql bug ?

2005-02-03 Thread Viacheslav Kaloshin
Here is testcase PHP 5.0.3 (cli) (built: Dec 17 2004 10:47:41) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies ?php class MySQL { private $mysql_link=0; private $mysql_result=0; function __construct() {

Re: [PHP-DB] Placing html entities into database?

2005-02-08 Thread Viacheslav Kaloshin
2 possible solutions: 1 - use latest versions (4.1) of mysql and UTF-8 encoding. 2(bad) - before storing encode all string to base64 or something like this :-) On Tue, 08 Feb 2005 10:29:20 +0100, Merlin [EMAIL PROTECTED] wrote: Hi there, I am wondering how to store special characters like the

Re: [PHP-DB] Placing html entities into database?

2005-02-08 Thread Viacheslav Kaloshin
On Tue, 08 Feb 2005 10:54:33 +0100, Merlin [EMAIL PROTECTED] wrote: 1 - use latest versions (4.1) of mysql and UTF-8 encoding. I am using 4.0.18 and the data look korrekt when retriefed out of the database. I did not enable any kind of encodeing. Is there a downfall in how I am doing it,

Re: [PHP-DB] Placing html entities into database?

2005-02-08 Thread Viacheslav Kaloshin
to your reply this seems fine since there are no special characters in english?! You are absolutely right ;-) Thanx, Merlin Viacheslav Kaloshin wrote: On Tue, 08 Feb 2005 10:54:33 +0100, Merlin [EMAIL PROTECTED] wrote: 1 - use latest versions (4.1) of mysql and UTF-8 encoding. I