Z
Z
ZaurK2018-04-13 22:55:17
PHP
ZaurK, 2018-04-13 22:55:17

How to extract a text field from the database line by line?

Hello! In base in a text box there is a record with line breaks. How can I pull this entry as an array so that each row is an element of the array? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2018-04-13
@ZaurK

Pull out as is, then use the explode function to break at the line break character

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question