jay_bo Posted March 6, 2010 Share Posted March 6, 2010 Is there anyway that i could possibly limit the amount of characters that this code will display when it is called in. echo '.$row["description"].'; Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 6, 2010 Share Posted March 6, 2010 you can use substr, for example to only show the first 100 characters use echo substr($row["description"], 0, 100); Quote Link to comment Share on other sites More sharing options...
jay_bo Posted March 6, 2010 Author Share Posted March 6, 2010 Thank you very much. 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.