LostKID Posted September 14, 2009 Share Posted September 14, 2009 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.. Link to comment https://forums.phpfreaks.com/topic/174250-solved-var-text-only-showing-3-lines-when-echoed/ Share on other sites More sharing options...
YourNameHere Posted September 14, 2009 Share Posted September 14, 2009 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. Link to comment https://forums.phpfreaks.com/topic/174250-solved-var-text-only-showing-3-lines-when-echoed/#findComment-918576 Share on other sites More sharing options...
LostKID Posted September 14, 2009 Author Share Posted September 14, 2009 lol oh okay sorry thank you that was an easy fix Link to comment https://forums.phpfreaks.com/topic/174250-solved-var-text-only-showing-3-lines-when-echoed/#findComment-918597 Share on other sites More sharing options...
YourNameHere Posted September 14, 2009 Share Posted September 14, 2009 Np, it happened to me at one time. Link to comment https://forums.phpfreaks.com/topic/174250-solved-var-text-only-showing-3-lines-when-echoed/#findComment-918604 Share on other sites More sharing options...
LostKID Posted September 14, 2009 Author Share Posted September 14, 2009 thanks thought i would of been stumped.. do you know much about sessions because i seem to be struggling a bit with something in my code =/ http://www.phpfreaks.com/forums/index.php/topic,269189.0.html Link to comment https://forums.phpfreaks.com/topic/174250-solved-var-text-only-showing-3-lines-when-echoed/#findComment-918607 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.