I type textarea text, for example:
22.333.45.16
122.12.65.143
14.14.111.11234
text
How I can take every line to array? Is it possible or not?
Like this:
$input = $_POST["nameOfTextarea"];
$lines = explode("\n", $input);
This splits the string into an array based on the delimiter \n
(which is a line break). Here's the docs for explode().