xml - HTML form with zend fm -
so, have textarea input has spaces @ beginning. press submit button, goes through php , echos same stuff again input correction. so, if have had 3 spaces have 2. , if press button again, im getting 1. on each button press, deletes me 1 space. dont trim anywhere.
why that? easy solution att "\n" xmldata i'd know problem is.
most problem not code. appears how textarea input fields work, i.e. ignore first empty line (have at, e.g. here, here or here) 1 possible workaround add
first empty line, rather have empty, or add \n
suggested.
Comments
Post a Comment