Sonra bir mysql db takılı alır benim metin uyarlamak için bu kullanıyorum:
$ad_text=nl2br(wordwrap($_POST['annonsera_text'], 60, "\n", true));
When users wish to change their posting, they click a link on my page, and a form opens.
In this form, the textarea where I fetch the info from mysql, I am displaying the text again.
Only problem is, the text itself contains '<br>
' tags. That is, it shows up EXACTLY as it looks in the mysql table field.
How can I undo the function above so that the <br>
tags are removed again?
Thanks