Complex data splitting

jflaco

New Member
I am reading excel files through php, the contents are to be displayed in a table on web
2v93z11.png
I read this data in range A1 to D1 is one data and it is to be presented in this format\[code\]The datais different,in every,cell.\[/code\]This data is to be \[code\]<br/>\[/code\] line breaked based on strlen (This is a single string \[code\]is different, in every, cell.\[/code\] Line one \[code\]The data\[/code\] is heading)So line breaks are made based on \[code\],\[/code\] but max data has to fit in single lineSo how can I count strlen to each \[code\],\[/code\] so that I can echo if the data can fit in single line or else a line break is made after \[code\],\[/code\]\[code\]The datais different,in every, cell.\[/code\]
 
Back
Top