I assume you want to build something like 'x' number of ipads sold.
You can use the Javascript setinterval function to make an ajax call.
This ajax call can update the div to show the latest number in your
case.
Thanks,
Bharadwaj
http://webhostingangel.com
On 04-Jun-10, at 4:42 AM, ytbryan wrote:
> Hi all,
>
> How should I go about creating a page in cakephp that can auto refresh
> by itself.
>
> basically, I want to fetch the latest data from the database. I don't
> want the whole page to refresh. Merely the latest number.
>
> Can someone give me some advise?
>
> /bryan
>
> 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
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:
Post a Comment