gratsami Posted November 18, 2008 Share Posted November 18, 2008 i faced problem at my comment application the problem when it inserted into Database ... it's good but some commenter when they write comment they press many (Enter) that's mean there many white lines when i checked at phpmyadmin in the comment row ... there isn't html or php tags like (<br>, <br />, \n) to make str_replace() or another functions. now , how i can strip this lines? or how to convert that's lines to one line only? Link to comment https://forums.phpfreaks.com/topic/133259-how-i-can-strip-many-lines-from-my-db-in-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.