Hi and thanks for your help so far - even though that problem with the numbered links remains unsolved (at the mo).
Anyway in my search and category results I am displaying each link as:
1. Some Title Here
this is the description of this site
URL: http://www.whatever.com
Rating: 10 (Vote Now!)
The problem is that some of the sites in my database have very long URLs and I want a way to crop(truncate) the displayed url. Therefore if it's more than 25 characters long it will just add "..."
http://www.verlongdomain.com/veryverylong/verylong.html
would become
http://www.verlongdomain.com/veryverylo...
Does anyone think this can be done? If so - how?
JeffB
PS - how do you format "code" on this forum, it's not in the FAQs?!
Anyway in my search and category results I am displaying each link as:
1. Some Title Here
this is the description of this site
URL: http://www.whatever.com
Rating: 10 (Vote Now!)
The problem is that some of the sites in my database have very long URLs and I want a way to crop(truncate) the displayed url. Therefore if it's more than 25 characters long it will just add "..."
http://www.verlongdomain.com/veryverylong/verylong.html
would become
http://www.verlongdomain.com/veryverylo...
Does anyone think this can be done? If so - how?
JeffB
PS - how do you format "code" on this forum, it's not in the FAQs?!