Thanks Ralph, It's work.
Additional question: If I use PDO and do second query where will be
store data at sql server memory? If so, otherwise some where it will be
use memory. So which memory will be use better Sql Server or PHP?
On 26/03/12 18:05, ralphschindler [via Zend Framework Communit
You should be choosing the proper mysql extension based on your needs.
Mysqli is great for scripts that do alot of data-warehouse type of
iterations (due to its forward-only moving cursor by default). PDO on
the other hand is great for "object model" kind of stuff because by
default, it buffer
On Mon Mar 26 10:37:14 2012, duke wrote:
I know but you suggestion:
foreach ($resultSet as $row) {}
as I've wrote, will emit "mysql out of sync error" when another module
(or event) use db driver. To resolve that we must loop at resultSet and
get data,
but not convert all row object to array.
I know but you suggestion:
foreach ($resultSet as $row) {}
as I've wrote, will emit "mysql out of sync error" when another module
(or event) use db driver. To resolve that we must loop at resultSet and
get data,
but not convert all row object to array.
On 26/03/12 17:12, ralphschindler [via Z
In general, if you have a toArray() method, it is generally accepted
that the return value of that method will be a PHP type array.
If you are wanting to get the objects in your view, simply iterate over
the ResultSet. The default return type in the default ResultSet is a
RowObject which is a
I take back what I said about YII not having as large of a community as the
other two. Yii does have plenty of users & a ton of forum activity. It is just
hard to know what the best examples are on a forum. I like how you can find a
lot of ZF and CI in other channels like StackOverflow and tutor
Of course any decent PHP developer can take advantage of any framework/class
library. That's the point of them, to encapsulate purposes so they can be
easily be reused. They help keep teams & architecture on track and reduce
redundancy. But that certainly doesn't mean redundancy can't crop up. I
Your registration page has a nice user friendly error message, might want to
turn off the displayExceptions flag on production:
A 404 error occurred
Page not found.
The requested controller could not be mapped to an existing controller
class.
Controller:
Exception:
Class index could not be
Hi Drew, I came across the same problem. Have you found the solution?
Any pointers would be greatly appreciated!
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Service-Amazon-itemSearch-not-holding-results-tp3508458p4502842.html
Sent from the Zend Frame
On Sun, Mar 25, 2012 at 11:21 AM, AmirBehzad Eslami wrote:
> Dear List,
>
> I've used Zend Framework for almost 2 years in several projects.
> Now I'm entering a new company where the developers are asked
> to choose a web framework. We're 3 developers:
> One knows zf
> One knows CodeIgniter
> Th
why in this function we transform data instance of RowObjectInterface to
array? Not only ResultSet object? That we remove advantage of object access
in View (like echo $row->id).
code:
/**
* Cast result set to array of arrays
*
* @return array
* @throws Exception\RuntimeE
11 matches
Mail list logo