我的MySQL数据库中有一个描述字段,我在两个不同的页面上访问数据库,一个页面显示整个字段,但另一个页面只显示前50个字符.如果描述字段中的字符串少于50个字符,则不会显示,但如果不是,我会展示...在前50个字符之后.
示例(完整字符串):
Hello, this is the first example, where I am going to have a string that is over 50 characters and is super long, I don't know how long maybe around 1000 characters. Anyway this should be over 50 characters now ...
Exmaple 2(前50个字符):
Hello, this is the first example, where I am going ...