Hello i need help with my code i need to create a table in my multidimensional array i can't get any help please give solution with explanation i am newbie, here's my code.
<script>
var students = Array(
Array(1001,"Mac","mac@gmail.com", "macali1317"),
Array(1002,"Hellen","hellen@gmail.com", "hellen1317"),
Array(1003,"Andrew","andrew@gmail.com", "andrew1317")
);
document.write("Student ID " + students[0][0] , "<br>Student Name " + students[0][1] , "<br>Student Email " + students[0][2], "<br>Student pass " + students[0][3]);
document.write("<br>")
document.write("<br>")
document.write("<br>")
document.write("Student ID " + students[1][0] , "<br>Student Name " + students[1][1] , "<br>Student Email " + students[1][2], "<br>Student pass " + students[1][3]);
document.write("<br>")
document.write("<br>")
document.write("<br>")
document.write("Student ID " + students[2][0] , "<br>Student Name " + students[2][1] , "<br>Student Email " + students[2][2], "<br>Student pass " + students[2][3]);
Thanks in advance.