Hello all, I have a quick question my logic doesn't seem to resolve on its own
Say I have a while loop getting data from a DB and I have anywhere from 2 to hundreds of results, how can I make an exception between the first and second result to display something like an add?
It would be like this:
-- Result 1 --
-- ADD --
-- Result 2 --
-- Result 3 --
-- and so on --
Taking also into consideration that I am sorting this results in the form of:
ORDER BY `date` DESC
Let me know if you need some clarification, thanks :)