ineedhelp Posted December 30, 2006 Share Posted December 30, 2006 Hello.Hope you understand, my english isent good heh.Sorry but i just know that this is a dumb question, but i cant figure out to do it.Ok so this is what i want it to do:I have ALOT of names in my mysql database , each has the same INT (its called "ag" and is 2), and i want to output it to my page.I.E "SELECT * FROM blabla WHERE ag = %s".It works like a charm and everything, but i would like it so that when it has posted the first 20 or something names it goes up on the page and continues so it dosent become [u][b]one[/b][/u] long line of names but a nicely organized one I.e name name namename name nameSorry for takeing up your time with such a newbie question.. but im learning :) Quote Link to comment Share on other sites More sharing options...
fenway Posted December 30, 2006 Share Posted December 30, 2006 This has nothing to do with mysql ... you're iterating though each result of the set, just output them three at a time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.