freeloader Posted October 13, 2006 Share Posted October 13, 2006 Hi,I have a webpage which gives the user a multi line text field where he can type whatever he wants. After he typed and submitted, I read the content with $_POST and afterwards want to send it to another side using cURL and POSTFIELDS value there.My question is, how do I include the linke breaks? Because when the user hits enter to get a line break, I assume it messes the whole thing up?thanks Link to comment https://forums.phpfreaks.com/topic/23849-send-line-break-with-postfields/ Share on other sites More sharing options...
redarrow Posted October 13, 2006 Share Posted October 13, 2006 nl2br() Link to comment https://forums.phpfreaks.com/topic/23849-send-line-break-with-postfields/#findComment-108328 Share on other sites More sharing options...
wildteen88 Posted October 13, 2006 Share Posted October 13, 2006 Use the [url=http://php.net/nl2br]nl2br[/url] function.Umm, redarrow beat me :) Link to comment https://forums.phpfreaks.com/topic/23849-send-line-break-with-postfields/#findComment-108329 Share on other sites More sharing options...
freeloader Posted October 13, 2006 Author Share Posted October 13, 2006 * bangs head against wall * of course :p Thanks ;) Link to comment https://forums.phpfreaks.com/topic/23849-send-line-break-with-postfields/#findComment-108451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.