Hoi,
Ik heb weer een php vraagje.
Kijk, ik heb:
En nou wil ik dit:
Als $pages 1 is, dat er dan komt als output:
Als $pages 2 is, dat er dan komt als output:
Als $pages 3 is, dat er dan komt als output:
enz. enz.
Ik heb weer een php vraagje.
Kijk, ik heb:
$pages = ceil(count($count) / $MAX_PAGE); En nou wil ik dit:
Als $pages 1 is, dat er dan komt als output:
<a href="/1">1</a> Als $pages 2 is, dat er dan komt als output:
<a href="/1">1</a>
<a href="/2">2</a> Als $pages 3 is, dat er dan komt als output:
<a href="/1">1</a>
<a href="/2">2</a>
<a href="/3">3</a> enz. enz.
