[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

[PHP] automatisk <br> efter hver 5. billede



Hej,

Jeg har en sidde med nogle billeder. Billederne bliver automatisk lagt ind
paa siden efter hinanden (horisontalt). Indtil videre har jeg ikke saa mange
billeder (2 :-) ), men naar jeg lige faar gang i scanneren kommer der en hel
del flere. Derfor vil jeg gerne have lavet, saa at der efter hver 5. billede
kommer en <br>. Men hvordan kan man goere det i php?

Man kunne jo selvfoelgelig bare lave en if, som indsaetter en <br>, hvis
taellevariablen (i) er 6, 11, 16, 21 osv, men det er jo lidt noget fusk (og
traels, hvis der er RIGTIG mange billeder). Saa hvordan kan man lave det
check automatisk?

Mvh

Anders




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *