I am making a database on bootstrap code. I have made a database named bootstrap and I have a table named classes. There is a column in that table is named sample and the datatype is tinytext.
When I try to store:
<li class="active"><a href="Jumbotron.html">Profile</a></li>
Then display it with:
<td><?php $str = $row['exsample']; echo wordwrap($str,25,"<br>\n")?></td>
What is displayed is:
href="Jumbotron.html">Profile
I am sure it is because of the < and " in the string.
What datatype should I use so the the whole string is displayed?