PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
mysql has a function called SUBSTRING() which can be used with their CHARLENGTH() functions.. there are similar functions in php as well: substr() and strlen()