Your code will not produce same order of output as the OP's code.
If by the same order of output you mean "ID" first, then "Name", "Major" and finally "Email", then yes, the code I posted produces the same order. I guess you don't understand how arrays work? Or foreach loops?
In reply to Re^4: Help Me!
by jwkrahn
in thread Help Me!
by ajbrewe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |