[thelist] Sticky Form using Array

Jay Turley jayturley at gmail.com
Tue Apr 1 15:12:27 CDT 2008

You need just a few changes:

lines 49-52

      echo " <input type='text' name='$value' id='$value' size='20'
      echo " value='";
        if (isset($_POST[$value])) { echo htmlspecialchars
(stripslashes($_POST[$value])); }
        echo "'>\n";

On Tue, Apr 1, 2008 at 1:55 PM, Bob Meetin <bobm at dottedi.biz> wrote:

> http://www.dottedi.biz/codesamples/scripts/post_values_array.php
> http://www.dottedi.biz/codesamples/scripts/post_values_array.txt
> I thought I knew how to do this but I cannot seem to get it to work.  I
> am trying to create a long form using an array rather than having to
> write in all the processing code and HTML markup.  I have a working
> example using a drop down select list but for the life of me can't get
> it to work making sticky input fields.
> The other thing I will want to do is perform some 'function' processing
> on the fields and return the value in a new variable.  But for now I'd
> smile to get part 1 working.
> Reaching out...
> Bob
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list