Hi there...
I was thinking of dividing a front page displaying 15 newsarticles into three parts.
The first part, will contain only one article...
Below the first article there will be an ad, before to columns suceeding this banner displays 2*7 articles...
how do I do this?
I know the array has indexes of 0, 1 ,2 ,3 etc etc...
But, of course, I am fetching out several different columns from the db, title, ingress, date etc etc...
How do I tell the script to display one the *first* title, and then 7 more... and then additional 7....?
I wan`t to avoid doing three sql`s... Or is this nescessary?
-trond
I was thinking of dividing a front page displaying 15 newsarticles into three parts.
The first part, will contain only one article...
Below the first article there will be an ad, before to columns suceeding this banner displays 2*7 articles...
how do I do this?
I know the array has indexes of 0, 1 ,2 ,3 etc etc...
But, of course, I am fetching out several different columns from the db, title, ingress, date etc etc...
How do I tell the script to display one the *first* title, and then 7 more... and then additional 7....?
I wan`t to avoid doing three sql`s... Or is this nescessary?
-trond