I have set BREAK into field and MYSQL table is working with break. But inside jGrid this is not seen even MySQL table has break.
Can be solved this in some way?
jspeed
6:32 am on Jun 7, 2011 (gmt 0)
Could you post a code example, or expand on the error you are getting? It may help to diagnose.
toplisek
6:45 am on Jun 7, 2011 (gmt 0)
there is any error. It is issue that MYSQL has BREAK of the line inside field. When I connnect to jGrid table it will not be seen.
coopster
10:31 am on Jun 7, 2011 (gmt 0)
What is jGrid?
coopster
10:34 am on Jun 7, 2011 (gmt 0)
The Joomla extension? Then I assume it is your html formatting to which you refer. Remember that whitespace in HTML is collapsed. If you want to see line breaks you need to format the output in a way that will show the breaks. echo or print the value to a textarea element and you will see the line breaks. Or echo the content inside <pre> formatting. If you want the breaks to appear in an HTML table cell, you can use the PHP function nl2br().