I've got a problem while trying to edit a database record via PHP. Here it is the code of input type :
Employee Code : <input type=\"text\" name=\"empl_kode\" value=\"$edit->EMPL_KODE\">
After i successfully adding and showing new record, I've got a problem while editing it. In Employee Code text box, after the Number, there is long unnecessary white space.
Example :
How do i remove that unnecessary white space? Should i use trim function?