- 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

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -