PHP trim/strip non-breaking space

This post has been moved to here:

http://laviefrugale.blogspot.com/2009/12/php-trimstrip-non-breaking-space.html

Tagged , ,

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

  1. noah says:

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

    Thanks

    • 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 http://stackoverflow.com/

  2. guest says:

    Thanx, man! very helpful advice!

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: