To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm



On 16 December 2004 12:51, Vincent KONIECZEK wrote:

> Hi there,
> 
> 
> I was testing PHP 4.3.10RC2 with a well-tested web application when I
> saw it failed badly. 
> 
> After a little debug, I have found that the problem comes
> from this SQL
> query:
> SELECT CONCAT(num) AS k FROM user WHERE uid LIKE '%XXXX%'
> where user is a table with num as the PK and uid as a VARCHAR(128).
> 
> I expect a result like this one (var_export-like display) of
> the fetched
> row (with mysql_fetch_array()):
> ([0] => 67,[k] => 67)
> But mysql_fetch_array() gives me:
> ([0] => ([0] => 67,[k] => 67))
> 
> For me, it is a really big problem.
> I do not have it with PHP 4.3.8.
> I did not take the time to test with PHP 4.3.9 nor 4.3.10 but
> I took a
> look at the documentation web sites, the latest Changelogs and made a
> search on the mailing lists but found nothing about it.

Similar problems have been reported to the bugs database, and have been
traced to an old version of the Zend Optimiser -- if you are using this, try
disabling it, and if your application then works ok upgrade to the latest
version.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to