Bug #3314: MAXLENGTH

From: Date: Wed, 26 Jan 2000 00:29:23 +0000
Subject: Bug #3314: MAXLENGTH
Groups: php.dev 
Request: Send a blank email to php-dev+get-14919@lists.php.net to get a copy of this message
From: prosblee@prolinux.co.kr Operating system: Win 98 PHP version: 3.0.14 PHP Bug Type: Other Bug description: MAXLENGTH I'am working with php3 and mysql. I took problem. I set the length of field. but deference of English and Korean take some problem. Korean language counters two character per one letter. What is problem is bellow exam) I set Address Line is varchar(30) in mysql. php3: ....... <$STDFONT_B>$Address $Line 2 : <$STDFONT_E> <INPUT TYPE=TEXT NAME=ptaddr2 SIZE=25 MAXLENGTH=15 VALUE=\"$ptaddr2\"> <BR> .......... I have to set MAXLENGTH 15, but In English the length of line input 15 char. When the MAXLENGTH is set 30, Korea Language is cut. What do I solve this problem. PLEASE PLEASE give me answer

« previous php.dev (#14919) next »