how can i get textarea text rows ??? ... each row to sql table row ...
print("<textarea name=primary_info_c cols=100 rows=50>".htmlspecialchars($_POST["primary_info_c"])."</textarea>");
how to insert textarea each row in a different row in DB ??
i have a text and replace every spaces in this text with <br> ... now ...
how can i insert each row a get from splitting this text into a database table ... each row from textarea in a different row in database ???
$testNumbers1 = preg_replace('/\s+/',"<br />", $primary_info_c);
example :
text = " aaaaaa sssssss ddddddd ffffffff gggggggg hhhhhhhh jjjjjjjjj "
then i get ...
aaaaaa
sssssss
ddddddd
ffffffff
gggggggg
hhhhhhhh
jjjjjjjjj
and now a need to insert theese
aaaaaa
sssssss
ddddddd
ffffffff
gggggggg
hhhhhhhh
jjjjjjjjj
.. into a mysql db .... every textarea row into a different mysql row ...
any sugestions ?