Hi

I am using TT to display my data from my db ,


i insert the following  data from a  Front end using (  <textarea>  )  into
my database  the data is like this  in mysql :

--------------------------------------------------------------------------------------+------+---------------+-------------+-------------+
LV Name                /dev/VolGroup01/zeeweblinux1
 VG Name                VolGroup01
 LV UUID                iqj9g1-qzfQ-IHyc-Ebov-CKNb-NIYQ-dZKBXF
 LV Write Access        read/write
 LV Status              available
 # open                 1
 LV Size                50.00 GB
 Current LE             12800
 Segments               1
 Allocation             inherit
 Read ahead sectors     auto
 - currently set to     256
 Block device           253:8
+-----------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+---------------+-------------+-------------+

when i try to retrieve this data  using TT i to put it in a hash  , so here
is what my hash looks like :

$VAR1 = [ { 'result' => {  'lvm' => 'LV Name /dev/VolGroup01/blinux1 VG Name
VolGroup01 LV UUID iqj9g1-qzfQ-IHyc-Ebov-CKNb-NIYQ-dZKBXF LV Write Access
read/write LV Status available # open 1 LV Size 50.00 GB Current LE 12800
Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256
Block device 253:8 ',   } } ];


ultimately it it gets displayed without the new-line character :

LV Name /dev/VolGroup01/blinux1 VG Name VolGroup01 LV UUID
iqj9g1-qzfQ-IHyc-Ebov-CKNb-NIYQ-dZKBXF LV Write Access read/write LV Status
available # open 1 LV Size 50.00 GB Current LE 12800 Segments 1 Allocation
inherit Read ahead sectors auto - currently set to 256 Block device 253:8


is there a way i can display  on my browser with a new-line or <br/>

thanks for all the help



-- 
Regards
Agnello D'souza

Reply via email to