dropping one word from column entries
| From: | Jen Swofford | Date: | Wed, 29 May 2002 16:06:32 +0000 |
| Subject: | dropping one word from column entries | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-19490@lists.php.net to get a copy of this message | ||
I'm having a problem with this and suppose I'm looking for a handout. :|
I am displaying names of product categories. The names of the categories
are:
Bird Cages
Cat Toys
Chinchilla Housing Products
Dog Leashes
Ferret Housing Products
Mouse Housing Products
What I want to do when displaying the names is to drop "Products" whenever
it appears. What I want do display on the page instead is:
Bird Cages
Cat Toys
Chinchilla Housing
Dog Leashes
Ferret Housing
Mouse Housing
And no, changing the names of the categories in the database is not an
option. :) I'm completely missing the boat on this one... any help?
Jen Swofford
jen@littleduck.com