I have a textarea that I need to limit a little.
I get limit it to a number of charecters, but it is important that there are no more than 4 lines before it is inserted in the database.
I have tried asking people who are good at javascript, and it is not very easy to do that way.
So is it possible to check how many lines (breakes) there are in the message with PHP, so I can stop the insert if it has to many..??
It is not a limit I need, but a check, so I can write "too many lines" and people can try again.