Posted by Alan Little on 05/19/06 12:42
Carved in mystic runes upon the very living rock, the last words of Luke
of comp.lang.php make plain:
> I work in medical informatics when we deal with very large data
> collection forms. Some of them have over 1000 elements!
>
> But there is always a chance of a data entry error or a form has to be
> printable (as it looks when being filled out, with all visual
> elements). It means we have to retrieve all values and present them on
> the screen (ready to be resubmitted).
>
> Or is it really the only way to get it worked to place 1000 <?php
> echo "value=$value" ?> inserts in my HTML code?
Parse out the INPUT tags, set or replace their VALUE attributes, then
replace the tag in the HTML. There's an HTML parser in Hololib:
ftp://ftp.holotech.net/hololib.zip
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
[Back to original message]
|