0

Hello all

I am creating a site for user registration to a class. As classes are added and removed, I have a dynamic table that updates to list the available dates.

$result = mysql_query("SELECT date, time, type FROM class");

while($row = mysql_fetch_array($result)){
	printf("<tr>");
	
        printf("<td><a href = 'registration.html'>%s</a></td> 
		   <td>%s</td>
		   <td>%s</td>", 
		 $row["date"], $row["time"], $row["type"]);

	printf("</tr>");

What I want to do at this point, is have the hyperlink take the user to the registration page, while still being able to reference the date, time, and class type that the user specified - i.e. at the top of the page display Date:
Time:
Class type:
And insert the user information into the right table in the db.

Any help with this would be great,
thanks in advance :)

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by littletechie
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.