Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » for cicle problem

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 561 Views
  • bebabeba
    Community Member
    192 Posts

    for cicle problem Link to this post

    I have a query that look for in my database and show me 35 results. I want print this result in my page inside a div. My problem is create a for cicle that include div and result of query. can you help me please?How silverstripe convert this:

    $array [] //this is the array that include all query result

    for($i=0;$i<count($array); $i++){

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.