ok what i need to do:
read the contents of a file highlight the code and display it with the corresponding line number next to each line but how?
You can use Text_Highlighter. Here is good tutorial that explains how to do it.
yeah but that doesnt put the line number there?
read the tutorial...
ok do you know how to read a file and make a each line part of an array?
how to read a file and make a each line part of an array?
do it with file() function