Results 1 to 7 of 7

Thread: CGI Input

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225

    CGI Input

    Hi,

    I'm having an issue with a CGI program I'm trying to write. I have a lot of experience in Visual Basic so I'll try to explain what I want to do in those terms...

    Let's say I have a txt file filled with a bunch of records. Each record takes up 4 lines. The first three records are strings, the final one is an integer (This doesn't matter in CGI though, does it, correct...?).

    Is it possible to load these records into a multidimensional array in CGI? i.e. in Records[A,B], A would be the record's ID and B would be one of the 4 inputted lines.

    Can anyone shed any light on if this is possible, and if it's not, what the alternatives are?

    How would I input/seperate these records? Can anyone supply any code, please?

    BTW, also, is it possible to have 'forms within forms'? What I mean is, say if I have the following...

    ---

    -Record here-
    Record's textarea here
    Record's Delete Button | Record's Options Button

    -Record here-
    Record's textarea here
    Record's Delete Button | Record's Options Button

    -Record here-
    Record's textarea here
    Record's Delete Button | Record's Options Button

    ALL Record's Save Changes Button

    ---

    Meaning, you have the save changes button which saves all the textareas, but you also have individual delete/options buttons for EACH record... So it'd look something like:

    Code:
    <form>
        <form>
            'Input, Buttons, etc.
        </form>
        <form>
            'Input, Buttons, etc.
        </form>
        <form>
            'Input, Buttons, etc.
        </form>
        'Input, Buttons, etc.
    </form>
    Would that work, with each input field/button being restricted to it's 'parent' field...?

    Thanks,

    -Git
    Last edited by git; Feb 18th, 2003 at 05:20 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width