wannabe_god Posted October 20, 2006 Share Posted October 20, 2006 I would like to read one or two lines of a document on the server to echo on the homepage with a link like "read more" to view the complete document.But if I read a line php reads the source code of the html document. I just want to read the output. Someone knows how to do that? Link to comment Share on other sites More sharing options...
aspnetguy Posted October 20, 2006 Share Posted October 20, 2006 you have to parse out the html code, use ereg_replace() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now