Skip to content
Advertisement

Html table printing from array

I have a csv in such a format. I am trying to build an html table like show below.

JavaScript

HTML Table

JavaScript

// This is what i have came up with . Which is currently printing only the heading

JavaScript

The Sem and Subj are n. I am stuck at for loop logic on how about to start. Any help would be great.

Advertisement

Answer

You can use next solution:

JavaScript

share PHP code

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement