<% SQL = "SELECT TOP 4 VKHL_articles.created, VKHL_articles.body, VKHL_articles.user_id, VKHL_articles.article_id, VKHL_articles.cat_id, VKHL_articles.title, VKHL_users.fullname FROM VKHL_articles, VKHL_users WHERE VKHL_articles.user_id = VKHL_users.user_id AND VKHL_articles.cat_id = " & Request.Querystring("cID") & " AND VKHL_articles.article_id = VKHL_articles.article_id group by VKHL_articles.article_id ORDER BY VKHL_articles.created DESC LIMIT " & intStart & ", " & intPageSize & ";" antal = 1 Do While Not rs.EoF if antal = 1 response.write "Her vises den første nyhed:" antal = antal + 1
elseif antal > 1 response.write "Her vises overskrift 2, 3 og 4" antal = antal + 1 end if
Du får et svar her ;-). Det må siges at være mange år siden. Sjovt at se tilbage ;-)
Go weekend!
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.