xml - HTML form with zend fm -


http://pastebin.com/xrzbvwse

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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -