NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page displaying colums

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-10-2003, 03:37 AM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer

displaying colums


hi,

i need to display the colums inside a table how would i go about this?


is searched around but i couldnt find anything that i needed


thanks
adam_uk is offline  
Old 07-10-2003, 11:47 AM   #2 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



You'll need to be more specific with your questions.

You should explain the best that you can what you're trying to do, and what languages/programs you're trying to do it with.
deadserious is offline  
Old 07-10-2003, 12:54 PM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
using php with mysql

and ive got my database(registration) and ive got my table (2017)

and in the table there are feilds like this

pupil1
pupil3
.
.
.
.
pupil30

now i dont want the information in these colums i need to select the colums

because im making a absent report generator and each pupil is marked with a table colum eg

bob is pupil 2
john is pupil 1

etc etc

so im generating a form where they select the pupil (drop down box) but the value of the selection is the name of colum and the actual pupil name is just like a mask of the pupil id
adam_uk is offline  
Old 07-15-2003, 02:16 AM   #4 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



It still don't make much sense, you say you've got these fields, but you don't want the information is these columns, but you need to select these colums?

Now what are you actually attempting to say?

That you have a table named 2017 that stores the information of each pupil in a separate row:

row1: pupil1
row2: pupil2

Or is each puple actually stored on the same row in a separate column?
colum1 column2 column3
????: NamePros.com http://www.namepros.com/programming/14984-displaying-colums.html
row1: pupil1 pupil2 pupil3
?

If that's the case then I would say that's your first problem, and would think that you may want to reconsider how you designed your database.

And your saying you need to display columns inside a table? What do you mean? Inside a table on a web page? Or are you just asking how to display the colums from a table in a database?

I'm just guessing because I don't understand your explanation, but if you can answer my questions and/or explain a little more clearyly then maybe I can help you.
deadserious is offline  
Old 07-16-2003, 07:43 AM THREAD STARTER               #5 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
ah sorry

ok


i have my table 2017

i have then got my feilds (not 100% sure what there called ) called ID, pupil1, pupil2, pupil3, pupil4, pupil5 etc etc then the entrys are stored in these "feilds"

sorta thing
sorry
adam_uk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:22 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger