View Single Post
  #1  
Old 12-28-2011, 10:38 AM
Gunderak Gunderak is offline
Coder
Gunderak's Avatar
Join Date: Jun 2011
Location: Australia
Posts: 795
Gunderak is on a distinguished road
List all items in a SQL table?

I have been working on a support system where users can enter in a question for staff to answer about the server, my question is, how can I list all the rows in a table?
Would it be possible using a scroll as a container and a text list?
something maybe even to get all rows SELECT * FROM Support then a for loop with like
PHP Code:
with(Text_List){
  for(
temp.indx 0temp.indx this.data.size(); temp.indx ++){
    
addrow(indxdata[indx]);
  }

Maybe a better question is how would I add it all to an array?
__________________

Gund for president.

Remote PM {P*}x (Graal813044) from eraiphone -> Stefan: I hav 1 qustion
*Gunderak: he hav 1
*Gunderak: qustion
Reply With Quote