- Where Developers Learn, Share, & Build Careers
I am currently replacing an empty space with underscores during an image upload. How can I include it so that this change is done & amp; "And".
$ newname = str_replace ('', '_', trim (strip_tags ($ _POST ['name']))). _ $ FormKey- & gt; Generation () '_' post (). '.jpg'; It is stuck with one and does not even know what to try.
$ newname = str_replace (array ('', '& amp;'), array ('_', 'and'), ...);
Comments
Post a Comment