Hi, in this school project im making,
im having a problem if i could display the column names from a table on a MYSQL database to a webpage through PHP with a loop
is there a function to display the column names from a table?if not, are there any other webscripting languages that could do this function?
because if i cant do this, i have to destroy my months of hardwork on making this system!
HEEEEEEEEEEEEEEEELPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!
some SPECS objectives of my proj:
- i would display a teachers' students grades. at the same page, the teacher would edit the grades
- the teacher would navigate like this,
Choose and View: Subject(s) > Section(s) > Student(s),
- the teachers would have their individual number of activities to register.
Example: quiz1, quiz2, quiz3, sw1, sw2, exam1, exam2 etc.
>>> This is where the problem is, i will let the teacher create as much activity as they like through alter table add mysql function but how do i display all the names of the column from there dynamically?