Posted by Ivan Omelchenko 608308824 on 06/14/05 14:03
Maximus пишет:
> i need the key code for ENTER.
> i can explode but i need to know what to put as a delimeter.
>
> what is the enter key in the delimeter.
>
Under Windows it's \r\n
Under Unix OS it's only \n
Just trim($textarea, "\r") then split using \n
Navigation:
[Reply to this message]
|