tag:blogger.com,1999:blog-2284135312097304256.post5296771915739115281..comments2022-06-06T02:27:05.223-07:00Comments on Srirams Personal Stuffs: HTML Textarea new line problems with PHPSriram .A.S.http://www.blogger.com/profile/01337412806938375187noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-2284135312097304256.post-35695770918558140602012-09-08T04:03:41.561-07:002012-09-08T04:03:41.561-07:00thanks for this post..it's really helpful for ...thanks for this post..it's really helpful for me as starter..!!jemaTessahttps://www.blogger.com/profile/06157665510262195616noreply@blogger.comtag:blogger.com,1999:blog-2284135312097304256.post-22514419762617312582012-01-27T10:48:40.188-08:002012-01-27T10:48:40.188-08:00Hi Alan, when i try to execute this line
preg_matc...Hi Alan, when i try to execute this line<br />preg_match('`[\n]`$',$_POST['data'],$matches);<br />I get correct number of elements in $matches array, But i dont know why `` are required, i searched it in Internet and found it. Also sorry dude, im not strong in regular expressions, have to revise them again :) so using proper regular expressions, you can extract the lines i guess. Please try it and we will also be happy if you share the results with us. Thankyou.Sriram .A.S.https://www.blogger.com/profile/01337412806938375187noreply@blogger.comtag:blogger.com,1999:blog-2284135312097304256.post-56164517729873036362011-11-21T14:40:35.766-08:002011-11-21T14:40:35.766-08:00Hi Sriram -
I've got a textarea combined with ...Hi Sriram -<br />I've got a textarea combined with a preg_match. In trials, I press the ENTER key to start a new line. When I submit the updated form, my preg_match kicks in with a 'character not recognised' warning and the text returns to what was there originally before I started to change things. Basically, the preg_match is not happy with the ENTER being pressed. It's not a DB problem. Can you give me some advice about how to get over this problem ?<br />Thanks -<br />AlanAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2284135312097304256.post-73849936700094525652011-10-04T22:12:05.144-07:002011-10-04T22:12:05.144-07:00Hi Thanks!!Hi Thanks!!Sriram .A.S.https://www.blogger.com/profile/01337412806938375187noreply@blogger.comtag:blogger.com,1999:blog-2284135312097304256.post-37148506279271794932011-10-04T04:34:22.947-07:002011-10-04T04:34:22.947-07:00hi.. shriram ,, i m the new visitor on your site i...hi.. shriram ,, i m the new visitor on your site i was finding blog giving some tutorials ..and i found it out your.. <br /><br />this post is quite informative...<br /><br /><br /><br />Anukant <br /><a href="http://goo.gl/F0xMt" title="mlm software in noida,india,delhi,pune,punjab" rel="nofollow">Max3logic IT Solutions Pvt. Ltd.</a><br /><a href="http://goo.gl/DzYLY" title="mlm software in noida,india,delhi,pune,punjab" rel="nofollow">mlm software in india</a>mlm software in indiahttp://www.max3logic.com/mlm_software_india.htmlnoreply@blogger.com