I am using the Query module to perform a custom query and I am having problems. Currently I have (2) fields that are defined to be Xhtml type and contain character data along with numerous embedded carriage returns for formatting. When I query those fields and display them to the page, the carriage returns are not processed so my data runs together. Any help would be appreciated…
Partial code follows:
{exp:query sql="SELECT entry_id, field_id_32 as q_pro_text_upper, field_id_33 as q_pro_text_lower, field_id_30 as q_pro_name,
field_id_34 as q_pro_image_1, field_id_35 as q_pro_image_1_thumb,
field_id_36 as q_pro_image_2, field_id_37 as q_pro_image_2_thumb,
field_id_38 as q_pro_image_3, field_id_39 as q_pro_image_3_thumb,
field_id_42 as q_pro_image_4, field_id_43 as q_pro_image_4_thumb,
field_id_44 as q_pro_image_5, field_id_45 as q_pro_image_5_thumb,
field_id_46 as q_pro_image_6, field_id_47 as q_pro_image_6_thumb
FROM exp_weblog_data
WHERE entry_id = '<?php echo $entry_id?>' "}
<div id=“theContent”>
<div class=“hideMe” id=“divWithGallery”>
<div class=“projectInfo”>
<div id=“pro_name”>
{q_pro_name}
</div>
<div id=“pro_text_upper”>{q_pro_text_upper}
</div>
<div id=“pro_text_lower”>{q_pro_text_lower}</div>
</div>
.
.
.
Thanks for any help…