This topic is locked

Help With Data Presentation

3/22/2006 9:07:17 AM
PHPRunner General questions
T
TerryB author

Hi,
I am having a problem. I am using a multiple selection tool to select multiple options in a table. When it comes to displaying them on a list page it is displaying them like this:
london,birmingham,manchester
Where I want it to display them like this:
london

birmingham

manchester
What do I do to get this to happen?
Thanks

Sergey Kornilov admin 3/23/2006

Terry,
you can modify generated ..._list.php file for this:
Locate this line there:

echo ProcessLargeText(GetData($rsData,$data,"FIELDNAME", ""),$iquery);



where FIELDNAME is your actual field name, and replace it with:

echo str_replace(",","<br>",ProcessLargeText(GetData($rsData,$data,"FIELDNAME", ""),$iquery));