Twentyoneth Posted May 5, 2006 Share Posted May 5, 2006 I would like someone to point me in the right direction, thats about it. Erm, I am wanting to display only a certain ammount of characters in a variable...like this:$var = "123456789123456789";echo 1st 12 characters:"123456789123" Link to comment https://forums.phpfreaks.com/topic/9099-echo-a-certain-amount-of-characters/ Share on other sites More sharing options...
toplay Posted May 5, 2006 Share Posted May 5, 2006 substr()[a href=\"http://us2.php.net/manual/en/function.substr.php\" target=\"_blank\"]http://us2.php.net/manual/en/function.substr.php[/a] Link to comment https://forums.phpfreaks.com/topic/9099-echo-a-certain-amount-of-characters/#findComment-33474 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.