I am having a hard time where this code
<div class = "col-md-8">
<?php echo $row['actualpost']; ?>
</div>
is overlapping the column in a div
. How can we multi line this?
I am having a hard time where this code
<div class = "col-md-8">
<?php echo $row['actualpost']; ?>
</div>
is overlapping the column in a div
. How can we multi line this?
You can wrap your string using wordwrap()
function like this:
wordwrap($row['actualpost'], 10, '<br>');
This function will wrap your long string into multiline.
Or
You can use this css for your div
word-wrap: break-word;