Hi!
I am creating a links script.
New what it does is show the title, description etc and then has a more info button.
Now on the page with the title, description etc I want to limit the amount of text shown from the description but when you click more info it shows it full.
E.G:
On The Main Page:
This is a cool product! I reccomend it and...
On The More Info Page:
This is a cool product! I reccomend it and you should buy it now!!!
Any ideas?
Thanks!
Text Limit!
Moderator: General Moderators
-
Tubbietoeter
- Forum Contributor
- Posts: 149
- Joined: Fri Mar 14, 2003 2:41 am
- Location: Germany
if you're using a database that supports it you might query only the amount of characters needed.
e.g. http://www.mysql.com/doc/en/String_func ... ml#IDX1182
e.g. http://www.mysql.com/doc/en/String_func ... ml#IDX1182