Thursday, September 2, 2010

Re: Datasource

> Hi! I want to handle database pointers because I have a big database and
> memory is not enough (I already added memory in php.ini and put recursive in
> -1), I have like 9000 registers and I want to write all that registers in a
> file.
>
> There's a way to do something like mysql_fetch_array with datasources and
> write each row in a file? In that way I think I won't have that memory
> issue.

9000 isn't many - I'd use cake's paginate functionality wrapped into a
recursive function to write to the file?

J

>
> Regardss
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> 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?hl=en
>

--
jon bennett - www.jben.net - blog.jben.net

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

No comments: