Hello Bob! Thanks so much, that worked, you are an angel, and thanks 
for the last tip, I fixed that as well, now I just need to remove the 
characters that don't translate well into HTML and remove the extra 
words that aren't necessary in the titles.

[EMAIL PROTECTED]&*()+=\/`{}[]:;"'?<>


to, the, it, and, or, with, too, also, an, if

How and where would I put that in?

Thanks!

Wretha




--- In [email protected], "Bob" <[EMAIL PROTECTED]> wrote:
>
> You were nearly there.
> You started with $title, then to $filename, then back to $title.
> Try this:
> 
> $filename=strtolower($title);
> $filename=substr(str_replace(" ","_",$filename),0,20).".html";
> 
> Haven't been following this thread much.
> Did you want the title to be cut to 20 characters, as this will do 
that?
> Bob E.







Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to