Monthly Archives: May 2009

How to display certain number of words from a record?

I got good php tutorial to display certain number of words from database; in place of Database record you can use any other regular string.


How to remove HTML Tags from string?

If your strings have image code, any html code or DIV code you can easily remove using this code.

Hope this little code will be useful for you.


How to display limited characters?

To display limited characters from database or from string there is a ready made function available in php it is called – substr ( string string, int start [, int length])

Out put will be – phpmind