PHP trim/strip non-breaking space

This post has been moved to here:

Tagged , ,

3 thoughts on “PHP trim/strip non-breaking space

  1. noah says:

    Where would I put this code? Functions.php / header.php?


    • bmaupin says:

      I’m not sure what the context is. Functions.php/header.php could be referring to anything. Are you talking about wordpress?

      At any rate, the code that I shared is general enough that it could go anywhere you need to trim a non-breaking space from a string. You’ll have to figure out where in your code it needs to go. If you have specific programming questions I recommend

  2. guest says:

    Thanx, man! very helpful advice!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: