I have the following code to extract info from the database. The *address fields have line breaks, but they dont show in the results.
Can someone please let me know how?
Thanks
while(my @row = $sth->fetchrow_array()) {
push(@data, {
refid => $row[0],
refname => $row[1],
refaddress => $row[2],
refphone => $row[3],
refemail => $row[4],
forname => $row[5],
foraddress => $row[6],
forphone => $row[7],
foremail => $row[8]
});
}
With the following code in the template:
Address :