1
I have a form
with a textarea
where it will have a value per line.
Example:
I need to send this value to the Mysql database.
Then on another page I need to create a For to list these values.
What brings me to confusion is that there can be nothing, as a reference to the line break..
So if I already do $_POST for Mysql, it already goes with the broken line and then to do the Just use your code above?
– Tiago
Exactly. If you record the $_POST directly in a text field, or varchar, while recovering can use the above code, do the test.
– FernandoNomellini
split is obsolete and should not be used in new projects, prefer explode
– rray