Jump to content

Recommended Posts

I'm an absolute beginner but thought I would try this out. I am a teacher and I wanted to keep track of the multiplication tests that my students pass. I built this page: Multiplication and I wanted to be able to click the radio button for the test that they pass and then hit submit. This would then store the results in a database.

 

I'm figuring this out in steps so what I need help with is: What should the table look like, and what would be the proper sql to fill it. I don't need someone to do it for me I'm just having a difficult time figuring it out.

 

I thought it should look like this:

Student1 2 3 4 5

Where Student1 is the row and the numbers are the columns that represent the tests they have passed.

 

I just can't figure out the syntax or how to create it in phpmyadmin. Any help would be greatly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/2794-how-to-make-table-look-like-this/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.