17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 457 Views |
-
for cicle problem

24 November 2008 at 11:13pm
Hi!
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++){
<div>
print_r($array($i))
</div>
}
| 457 Views | ||
|
Page:
1
|
Go to Top |

