php - Storing large multiline text in sql in the same line arrangement as how it's inserted? -


i using php , mysqli. want store text , fetch text in same line arrangement how it's typed in "textarea" field.

use <pre> tag. maintain format of text.

example:

<pre>  lorem ipsum    dolor sit amet, consectetur adipiscing elit. nam   , ut sin  t ill                                vendibiliora, haec uberiora certe sunt. et harum quidem rerum facilis est et expedita distinctio. sed quid sentiat, non videtis. est autem officium, quod ita fac            tum est, ut eius facti probabilis ratio reddi possit. quod aute             m meum munus dicis non equidem recuso, sed te adiungo socium.          laelius clamores sofòw ille lebat edere compellans gumias ex ordine nostros.    </pre>


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -