The zend db query results of zend framework 1 will be less or even non-existent. Have you encountered any?

WBOY
Release: 2016-08-04 09:21:36
Original
824 people have browsed it

zend framework 1

When using the built-in zend db to connect to mysql for query, the results will become less or disappear. Has anyone encountered this situation?

I searched for a long time and couldn’t find the reason.

I tested it with two SQLs;

The first client query has three pieces of data, but zend db found only two pieces.

The second client query has six pieces of data, but zend db found that there is no one, and it is an empty array.

I have been depressed for a long time.

I tested it with native PDO later, and it was correct, consistent with the client query results.

What kind of bug is this?

Reply content:

zend framework 1

When using the built-in zend db to connect to mysql for query, the results will become less or disappear. Has anyone encountered this situation?

I searched for a long time and couldn’t find the reason.

I tested it with two SQLs;

The first client query has three pieces of data, but zend db found only two pieces.

The second client query has six pieces of data, but zend db found that there is no one, and it is an empty array.

I have been depressed for a long time.

I tested it with native PDO later, and it was correct, consistent with the client query results.

What kind of bug is this?

Post your code first~

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!