envexlabs Posted July 24, 2007 Share Posted July 24, 2007 Hey, i have product87, i just want 87. how do i do this? Thanks, envex Quote Link to comment Share on other sites More sharing options...
trq Posted July 24, 2007 Share Posted July 24, 2007 <?php $s = 'product87'; echo substr($s,0,-2); ?> Quote Link to comment Share on other sites More sharing options...
envexlabs Posted July 24, 2007 Author Share Posted July 24, 2007 thanks! 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.