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!
Basically, three values are being pulled from the DB and used to create a dropdown liast for the user to select. I would only like to display the first 25 characters of each value; how do I do that? Even if the value is less then 25 characters I still want 25 characters to display so there would be blank spaces after the value.