Jump to content

[SOLVED] Var text only showing 3 lines when echoed?


LostKID

Recommended Posts

hi guys.. heres my problem im working on some user profile pages.. check mine for example:

 

http://www.brokenbox.co.uk/MY/page.php?id=1

 

basically the bio bit on the right hand side is or should be atleast 5 lines long maybe even more. i entered this information in via myPhpAdmin directly as i havent set the fields up yet. the bio field in mysql is a TEXT with 200. i just dont understand what the problem is and why its only showing a couple of lines..

Well you problem is simple. I counted at least 195 characters in that 'bio' so, I am sure I missed a few.

 

195 + a few = 200.

 

That means, it is working properly according to what you told it to do.

 

Here's the fix:

 

Go back into phpMyAdmin and open that table and on the field that holds the bio text, click the pencil (edit).

In the next screen, change the '200' to '500' or whatever you want the amount of characters to be displayed.

 

Then you will need to edit that bio you've already written as it has be truncated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.