Hi Everybody,
Any idea how to specify where PHP puts the hidden input PHPSESSID in a form?
I've built a form using PHP/JavaScript. Foolishly I imagined I could use JavaScript to dynamically edit and validate the 30 odd lines of multiple page input (an expenses lodging system) by form element reference. Using only the maximum number of lines appearing on the page (11)
eg
sline01 = +window.document.forms[0].elements[3].value.replace(/,/g, '');
sline01 = Math.round(sline01*100)/100;
etc....to sline11=
and construct a multi-dimantional array using named elements
eg name="el[row'.$el_counter.'][GV]" etc.....
But now I find that PHP actually creates the first element of the form
eg <input type="hidden" name="PHPSESSID" value="67ab9a3801804a256b603e71d160d21f" />
This throws out all my javascript form references.
I could remove session_start() but I'd rather not.
Can any one advise please?
Thanks
Best regards
RichFM