dennismonsewicz Posted April 12, 2007 Share Posted April 12, 2007 I am looking for a way to be able to hide some text that is being pulled from a database. For example If I have the following text being pulled out of a database onto my website, I want a way to be able to hide like the third paragraph on and replace that with a morre button than when a user clicks the more button it reveals the rest of the text: Can anyone help? Thanks, -Dennis Quote Link to comment Share on other sites More sharing options...
trq Posted April 12, 2007 Share Posted April 12, 2007 Just use substr to display part of the data. Then have your link point to a page that will display all of the data. Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted April 12, 2007 Share Posted April 12, 2007 To do this in PHP requires the user's page to reload. If you want to do it in a more up-to-date method, use Javascript and CSS. Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted April 17, 2007 Author Share Posted April 17, 2007 is there anyone who could help me do this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.