On Thu, 2009-03-05 at 03:08 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
>
> >>
> >> function hiddenInput($document,$name,$value) {
> >> $input = $document->createElement("input");
> >> $input->setAttribute("type","hidden");
> >> $input->setAttribute("name",$name);
> >> $input->setAttribute("value",$value);
> >> return($input);
> >> }
> >>
> >> Does that answer your question?
> >
> > That was what I thought.
> >
> > Cheers,
> > Rob.
>
> Is there a reason I shouldn't be doing it that way?
I didn't say you shouldn't. It's just expensive on every page request to
regenerate a document node by node. it also strikes me as tedious :/
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php