Ed Gorski <[EMAIL PROTECTED]> wrote:
> use:
> 
> $name="Mouse Housing Products";
> $name=str_replace("Products","",$name);
> 
> also the RTFM() function works too

I'd also trim it to get rid of any extra spaces that are left:

$name = trim(str_replace("Products","",$name));

-- 
Stuart


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

Reply via email to