A
A
avr19722017-09-16 19:33:12
MySQL
avr1972, 2017-09-16 19:33:12

How to save text in MySQL to be framed with html tags when outputting?

There is a rather large piece of text. When displayed on the site, it must be framed with a fairly large number of HTML tags. Can you please tell me how this text is best placed in the MySQL database?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Skleinov, 2017-09-17
@avr1972

If the text is not of a template type, then it is easier to enter it into the database immediately with markup and output it with markup, if it is a template text, then, respectively, each block to the database separately and display it in the template under its markup. Millions of examples

D
Dmitry Gadzhiev, 2017-09-16
@gds1

what does it mean to frame with quite a lot of HTML tags? after the output from the database?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question