i need to show the result like this (example)..
your results are:
Name: name_of_student
Age: Age_of_student
grades: (click here to expand), and when the user click here the other fields appear ...
French: grade_1
Music: grade_2
Mathematics: grade_3
Chemistry: grade_4
Thanks for any help !
the only thing that i have until now
Code: Select all
while ($row= mysql_fetch_array($result)) {
$title = $row["1st_field"];
echo ("Field no1: "); print $row["fieldno1"]; print ("<p>");
echo ("Field no2 "); print $row["field2"]; echo (" "); print $row["Field no3"]; echo (" "); print $row["field3"]; print ("<p>");
...