数据库中的数据值未显示为已满

时间:2012-03-15 08:43:07

标签: php codeigniter

Patel Kalpanabase history-Valsad-Gujarat.pdf 
Link to PDF Patel Kalpanabase history-Valsad-Gujarat.pdf

Patel Hardikbase history-Valsad-Gujarat.pdf 
Link to PDF Patel Hardikbase history-Valsad-Gujarat.pdf

Ram Dayal-base history-Muzaffarpur-Bihar.pdf 
Link to PDF Ram Dayal-base history-Muzaffarpur-Bihar.pdf

Rathod Hetalbase history-Valsad-Gujarat.pdf 
Link to PDF Rathod Hetalbase history-Valsad-Gujarat.pdf

Geeta-base history-Meghnagar-Jhabua-Madhya Pradesh.p // should be pdf at the end rather displays p
Link to PDF Geeta-base history-Meghnagar-Jhabua-Madhya Pradesh.p

Jungle Singh-base history-Jhabua Batch-Madhya Prades// should be Pradesh.pdf at the end rather displays Prades
Link to PDF Jungle Singh-base history-Jhabua Batch-Madhya Prades

有人能说出为什么在显示时价值受限了吗?

2 个答案:

答案 0 :(得分:1)

确保检查数据库架构中的列大小。如果您使用VARCHAR列设置为50个字符并且字符串超过50个字符,则在插入数据时它将静默截断数据。

答案 1 :(得分:0)

您很可能将它存储在数据库中长度太小的VARCHAR列中。增加列的长度。