Note that there are some explanatory texts on larger screens.

plurals
  1. POsetting up a database for tracking which users have clicked which links?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CODo you understand the relationships between a primary key and a foreign key? If not you need to start with a relational database tutorial - http://www.phpknowhow.com/mysql/mysql-basics/ - But in short, you're going to end up with a table filled with students and a table filled with videos. You will then have a third table that creates a relationship between students and videos commonly called a mapping table by linking the primary key of one to the primary key of another along with probably a date field and a bit field if it was completed.
      singulars
    2. COThis is way over a "front end designers" head. We have a team a 3 people and allocate about 4-6weeks to get a full tracking system like this wokring ( we track emails and what links were clicked from which email at what time and even where they went afterwards) You need to start with a generic handler to serve links from the DB, that somehow know which student it was and save it to another table. You need several tables and sql calls.
      singulars
    3. CO@RThomas: are that many tables necessary? I thought I could do this with a single table; *have and auto-incrementing ID, *the userID (from LDAP, they are all structured like abc1234) *six columns to represent the video links then whenever the user clicks a link, check to see if their ID is already in the table. If it is not, append it. Also append the current date and time to the link they clicked. Are primary/foreign keys necessary here?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload