Hi,
I have a forum system that I have made. Users are able to submit data to a database, which is then pulled from the database in a posts page.
Each post in the table is in its own table/cell within the posts page.
If a user submits a link that is excessively long, it stretches the table (as do pictures).
Is there any way I can only show the first x characters of the link, whilst keeping the URL of the link intact???
In the database, the data will look as follows...
<A title=LINK href="link_url_here">LINK</A>
How can I only show x characters from the LINK part before the </A> ???
Im tearing my hair out with it. Its the same for pictures posted that are too big for the table column/cell width.
What am I best to do?
Really appreciate any help on this.
Matt