A
Anonymous
Guest
i have my text area...
i wonder how i can recongnise that the user press enter (char(13) or s/thing like dat)...
cuz after i store this info in a DB (mysql) and when i put it back on a HTML page i wanna go to the line...like in the text area..
i ve tried $var = str_replace('\r\n','<br>',$fieldname);
but it doesn't work..
in fact how is the cariage return coded?
thx all
cho@
i wonder how i can recongnise that the user press enter (char(13) or s/thing like dat)...
cuz after i store this info in a DB (mysql) and when i put it back on a HTML page i wanna go to the line...like in the text area..
i ve tried $var = str_replace('\r\n','<br>',$fieldname);
but it doesn't work..
in fact how is the cariage return coded?
thx all
cho@