Hi everyone, Please can someone out there tell me how i can include the last 10 lines of a file on a page with php and how i can include line 4 to 20 with php and how i can include a random file..Please urgent reply is needed.
coopster
10:27 pm on Jan 13, 2006 (gmt 0)
Welcome to WebmasterWorld, flames.
By file can we assume you mean a text file? You could always use the PHP file() [php.net] function and only echo the array values for the line numbers you want.