Hi again, thanks for those who sent me info on my earlier problem.

Another bit of help needed here.

I have table that contains alot of fields. Now one of the fields in the databse 
contains information that I need to be changed when output on a page. 


In the table the field purchase has the following information in 1 of the entries:

This is a book for sale

Now I need this field and this field only on out put to remove all the spaces and 
replace them with + signs.

So it would look like:


Now I dont want any other spaces apart from the ones in this field to be replaced. i 
have looked as some regular expressions, but would like to know if this is possible, 
and the way to go about it.

Thanks once again, this list is very valuable.

Thanks all


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to