title: How to make the output data (product description) line by line in the online shopping website?
body: <p>I'm helping a client put their product on the 11 street online shopping cart, but I am facing a problem when I succeed at inserting <code>product_short_description</code> on the 11 street online shopping page - it is showing me the strings combined together. How can I make the strings of <code>product_short_description</code> display on two lines, one above the other?</p>
  <p>My code is shown below:</p>
  <pre><code>&lt;?php
  
  
  include '../db_config/db_conn.php';
  
  $sql = 'SELECT c1.entity_id AS product_id, c1.sku, c2.value AS prdNm, 
  c3.value AS product_price, 
  c5.value AS category_name, c6.value AS weight, c7.value AS image, 
  c8.value AS description, 
  c9.value AS price,c11.value AS shipment_type,c12.value AS 
  warranty,c13.value AS short_description
  FROM catalog_product_entity c1
  LEFT JOIN catalog_product_entity_varchar c2 ON c1.entity_id=c2.entity_id 
  AND c2.attribute_id=71
  LEFT JOIN catalog_product_entity_decimal c3 ON c1.entity_id=c3.entity_id 
  AND c3.attribute_id=75
  LEFT JOIN catalog_category_product c4 ON c1.entity_id=c4.product_id
  LEFT JOIN catalog_category_entity_varchar c5 ON 
  c5.entity_id=c4.category_id AND c5.attribute_id=41
  LEFT JOIN catalog_product_entity_decimal c6 ON c1.entity_id=c6.entity_id 
  AND c6.attribute_id=80
  LEFT JOIN catalog_product_entity_varchar c7 ON c1.entity_id=c7.entity_id 
  AND c7.attribute_id=85
  LEFT JOIN catalog_product_entity_text c8 ON c1.entity_id=c8.entity_id AND 
  c8.attribute_id=72
  LEFT JOIN catalog_product_entity_decimal c9 ON c1.entity_id=c9.entity_id 
  AND c9.attribute_id=75
  LEFT JOIN catalog_product_entity_int c11 ON c1.entity_id=c11.entity_id 
  AND 
  c11.attribute_id=127
  LEFT JOIN catalog_product_entity_int c12 ON c1.entity_id=c12.entity_id 
  AND 
  c12.attribute_id=154
  LEFT JOIN catalog_product_entity_text c13 ON c1.entity_id=c13.entity_id 
  AND c13.attribute_id=73
  WHERE c1.entity_id = 190
  
  $result = mysql_query($sql);
  while($row = mysql_fetch_array($result)) {
  $product_id = $row['product_id'];
  $product_sku = $row['sku'];
  $product_name = $row['prdNm'];
  $product_price = $row['product_price'];
  $product_category_name = $row['category_name'];
  $product_weight = $row['weight'];
  $product_image = $row['image'];
  $product_description = $row['description'];
  $product_price = $row['price'];
  $product_shipment_type = $row['shipment_type'];
  $product_warranty = $row['warranty'];
  $product_short_description = $row['short_description'];
  
  }
  
  ';
  
  //removed &quot;br&quot; tag, because if I don't remove &quot;br&quot;, it will show me error//
  
  $product_short_description = strip_tags($product_short_description);
  
  $curl = curl_init();
  
  curl_setopt_array($curl, array(
  CURLOPT_URL =&gt; &quot;https://api.11street.my/rest/prodservices/product&quot;,
  CURLOPT_RETURNTRANSFER =&gt; true,
  CURLOPT_ENCODING =&gt; &quot;&quot;,
  CURLOPT_MAXREDIRS =&gt; 10,
  CURLOPT_TIMEOUT =&gt; 30,
  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST =&gt; &quot;POST&quot;,
  CURLOPT_POSTFIELDS =&gt; &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot; 
  standalone=\&quot;yes\&quot;?&gt;
  &lt;Product&gt;
  &lt;selMthdCd&gt;01&lt;/selMthdCd&gt;
  &lt;dispCtgrNo&gt;4932&lt;/dispCtgrNo&gt;
  &lt;prdTypCd&gt;01&lt;/prdTypCd&gt;
  &lt;prdNm&gt;$product_name&lt;/prdNm&gt;
  &lt;prdStatCd&gt;01&lt;/prdStatCd&gt;
  &lt;prdWght&gt;$product_weight&lt;/prdWght&gt;
  &lt;minorSelCnYn&gt;Y&lt;/minorSelCnYn&gt;
  &lt;prdImage01&gt;$product_image&lt;/prdImage01&gt;
  &lt;htmlDetail&gt;$product_short_description&lt;/htmlDetail&gt;
  &lt;advrtStmt&gt;9789792771251&lt;/advrtStmt&gt;
  &lt;sellerPrdCd&gt;815210&lt;/sellerPrdCd&gt;
  &lt;selTermUseYn&gt;N&lt;/selTermUseYn&gt;
  &lt;selPrc&gt;$product_price&lt;/selPrc&gt;
  &lt;prdSelQty&gt;9999&lt;/prdSelQty&gt;
  &lt;cuponcheck&gt;Y&lt;/cuponcheck&gt;
  &lt;dscAmtPercnt&gt;25&lt;/dscAmtPercnt&gt;
  &lt;cupnDscMthdCd&gt;01&lt;/cupnDscMthdCd&gt;
  &lt;cupnIssStartDy&gt;13/08/2014&lt;/cupnIssStartDy&gt;
  &lt;cupnIssEndDy&gt;20/08/2014&lt;/cupnIssEndDy&gt;
  &lt;cupnUseLmtDyYn&gt;Y&lt;/cupnUseLmtDyYn&gt;
  &lt;pointYN&gt;Y&lt;/pointYN&gt;
  &lt;pointValue&gt;100&lt;/pointValue&gt;
  &lt;spplWyCd&gt;02&lt;/spplWyCd&gt;
  
  &lt;selMinLimitQty&gt;3&lt;/selMinLimitQty&gt;
  &lt;selMinLimitTypCd&gt;01&lt;/selMinLimitTypCd&gt;
  &lt;selLimitQty&gt;10&lt;/selLimitQty&gt;
  &lt;selLimitTypCd&gt;02&lt;/selLimitTypCd&gt;
  &lt;asDetail&gt;-&lt;/asDetail&gt;
  
  &lt;dlvMthCd&gt;01&lt;/dlvMthCd&gt;
  &lt;dlvCstInstBasiCd&gt;01&lt;/dlvCstInstBasiCd&gt;
  &lt;width&gt;10&lt;/width&gt; 
  &lt;length&gt;12&lt;/length&gt; 
  &lt;height&gt;13&lt;/height&gt; 
  &lt;packageWidth&gt;10&lt;/packageWidth&gt; 
  &lt;packageLength&gt;12&lt;/packageLength&gt; 
  &lt;packageHeight&gt;13&lt;/packageHeight&gt;
  &lt;rtngExchDetail&gt;test sample&lt;/rtngExchDetail&gt; 
  &lt;suplDtyfrPrdClfCd&gt;04&lt;/suplDtyfrPrdClfCd&gt; 
  &lt;suplDtyfrPrdClfRate&gt;2.56&lt;/suplDtyfrPrdClfRate&gt; 
  &lt;productAttributes&gt; 
  
  &lt;attribute&gt; 
  &lt;attributeCode&gt;2000005&lt;/attributeCode&gt;
  &lt;attributeName&gt;Brand&lt;/attributeName&gt;
  &lt;attributeNo&gt;174034&lt;/attributeNo&gt;
  &lt;attributeValueList&gt; 
  &lt;attributeValue&gt;CHANEL&lt;/attributeValue&gt;
  &lt;attributeValueCode&gt;2010498&lt;/attributeValueCode&gt;
  &lt;attributeValueNo&gt;174034&lt;/attributeValueNo&gt;
  &lt;/attributeValueList&gt; 
  &lt;/attribute&gt; 
  
  &lt;attribute&gt; 
  &lt;attributeCode&gt;2009110&lt;/attributeCode&gt;
  &lt;attributeName&gt;All&lt;/attributeName&gt;
  &lt;attributeNo&gt;174152&lt;/attributeNo&gt;
  &lt;attributeValueList&gt; 
  &lt;attributeValue&gt;Female&lt;/attributeValue&gt;
  &lt;attributeValueCode&gt;2010761&lt;/attributeValueCode&gt;
  &lt;attributeValueNo&gt;174152&lt;/attributeValueNo&gt;
  &lt;/attributeValueList&gt; 
  &lt;/attribute&gt; 
  
  &lt;/productAttributes&gt;
  &lt;warrantyType&gt;1&lt;/warrantyType&gt; 
  &lt;warrantyPeriod&gt;1&lt;/warrantyPeriod&gt; 
  &lt;packageWeight&gt;1&lt;/packageWeight&gt; 
  &lt;productFeatures&gt;feature - 1&lt;/productFeatures&gt; 
  &lt;productFeatures&gt;feature - 2&lt;/productFeatures&gt; 
  
  &lt;/Product&gt;&quot;,
  CURLOPT_HTTPHEADER =&gt; array(
  &quot;cache-control: no-cache&quot;,
  &quot;content-type: application/xml&quot;,
  &quot;openapikey: sadqwd124312qwrfw353&quot;,
   ),
  ));
  
  $response = curl_exec($curl);
  $err = curl_error($curl);
  
  curl_close($curl);
  
  echo $response;
  </code></pre>
  <p>It's just the &quot;html details&quot; element that has a problem, because on the shopping website, <code>product_short_description</code> is shown with the two strings combined on the same line like in the image here:
  <a href="https://i.stack.imgur.com/WdIpn.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>What I want instead is for the output of <code>product_short_description</code> to have the string separated and shown on two lines, one above the other such as the image here:
  <a href="https://i.stack.imgur.com/avmkx.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>Hope someone can help me separate the strings in the short product description. Thanks.</p>