I have a textarea submitted to a php file.
Im using this to make it look exactly as the user entered the text:
$ad_text=nl2br(wordwrap($_POST['annonsera_text'], 47, "\n", true));
If I want to resize a container I must be able to read how many lines are in the variable '$ad_text'.
Is there a way to do this...
I am still learning so thanks for your help...