Is not a bad idea. But, there isn't a way to get the database connection
from cake and handle db pointers? Anyway, that is just curiosity, your
solution seems to be right for me :), thanks!

2010/9/2 Jon Bennett <[email protected]>

> > 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected]>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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to