Sjaak Posted December 21, 2010 Share Posted December 21, 2010 How do i remove with %20%20%20 from a pictures name? Silly question but my pictures wont show because of the %20%20%20 in the picturename. Quote Link to comment Share on other sites More sharing options...
Sjaak Posted December 21, 2010 Author Share Posted December 21, 2010 Srry, I just found it: $info_item1='text with spaces '; $Pattern = '/\s*/m'; $Replace = ''; $info_item1= preg_replace( $Pattern, $Replace, $info_item1 ); 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.