I'm fetching the data from my database through 'fetching' datatype, 'Features' is a row, element in the 'Features' row has Multiline data.
eg:
Simultaneous HD video and image recording, geo-tagging, touch focus.
face and smile detection.
image stabilization, HDR.
php
function mf(){
while($row = mysqli_fetch_array($fetching)){
echo $row['Features'];
}
}
Javascript
document.getElementById("idname").innerHTML = "<?php mf(); ?>";
Html
<div id="idname"> </div>
Here mf function has Features row element shown in example. When I try to execute, no output in webpage, If I remove new line and write whole element in a single line it works, if it is multiline, then data is not showing up in webpage. Please help me!
it takes lot of time. Any alternate solution please – Sailesh Kotha Aug 03 '14 at 20:43