Use apache of windows will return the results:
Array(
[0]=>Array([product]=>Array([id]=>123,[title]=>'this is title')),
[1]=>Array([product]=>Array([id]=>124,[title]=>'this is title2'))
)
Use apache of linux will return the results:
Array(
[0]=>Array([0]=>Array([id]=>123,[title]=>'this is title')),
[1]=>Array([0]=>Array([id]=>124,[title]=>'this is title2'))
)
product is the table name or model name.
Linux: cenos 6 + apache 2.4 + mysql 5.5 + php 5.4.1
windwos: apache 2.2 + mysql 5.5 + php 5.3.8
How to do it?
Thank you!
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment