[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 07-10-2003, 02:37 AM   #1 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

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, 10:47 AM   #2 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

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, 11:54 AM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

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, 01:16 AM   #4 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

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
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, 06:43 AM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:23 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85