dungvuhong Posted June 19, 2006 Share Posted June 19, 2006 Hi all,Does any one have problem like this: I have one Textarea to get user's post. This Text will be saved in MySQL and look like this:[b]Alex Frei trifft in Dortmund für die Eidgenossen. Die Togolesen müssen jetzt Gas geben, sonst wird es nichts mehr mit dem Traum Achtelfinale. mehr * Alexander Frei: Die Hoffnung der Eidgenossen * Trainerporträt: Köbi Kuhn * Kader Schweiz * Schweiz: Mehr als Warmspielen für die EURO[/b]But when I used PHP to get this content to appear it on the website, i usually get the text like this on the website:[b]Alex Frei trifft in Dortmund für die Eidgenossen. Die Togolesen müssen jetzt Gas geben, sonst wird es nichts mehr mit dem Traum Achtelfinale. mehr * Alexander Frei: Die Hoffnung der Eidgenossen * Trainerporträt: Köbi Kuhn * Kader Schweiz * Schweiz: Mehr als Warmspielen für die EURO[/b]Can anyone suggest me the way to fix it? Thank you very much Link to comment https://forums.phpfreaks.com/topic/12384-problem-with-appearence-text-in-mysql-on-the-site/ Share on other sites More sharing options...
poirot Posted June 19, 2006 Share Posted June 19, 2006 nl2br:[a href=\"http://www.php.net/nl2br\" target=\"_blank\"]http://www.php.net/nl2br[/a] Link to comment https://forums.phpfreaks.com/topic/12384-problem-with-appearence-text-in-mysql-on-the-site/#findComment-47328 Share on other sites More sharing options...
dungvuhong Posted June 19, 2006 Author Share Posted June 19, 2006 [!--quoteo(post=385659:date=Jun 19 2006, 10:14 AM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Jun 19 2006, 10:14 AM) [snapback]385659[/snapback][/div][div class=\'quotemain\'][!--quotec--]nl2br:[a href=\"http://www.php.net/nl2br\" target=\"_blank\"]http://www.php.net/nl2br[/a][/quote]Thank you very much poirot!Nice to meet you, Link to comment https://forums.phpfreaks.com/topic/12384-problem-with-appearence-text-in-mysql-on-the-site/#findComment-47331 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.