in reply to Re: Array of variables
in thread Array of variables

i tried that technique previously didn't work

Step 1: load variables from sql call from database

Step 2: placed variable into an array

Step 3: process data in current array, formatting date to html date field format

Step 4: reload the new back back into the variable that is in the array

issue do not know how to address an array of variable to place the data back into the array variable

$Variables$X = ( $Map_Request_Date,$Map_Due_Date,$Map_Cutover_Date,$Map_Complete_Date,$Map_Approved_Date);

Replies are listed 'Best First'.
Re^3: Array of variables
by 1nickt (Canon) on Apr 27, 2017 at 16:15 UTC

    Nope, as choroba said in the chatterbox:

    @Variables = ( $Map_Request_Date, $Map_Due_Date, $Map_Cutover_Date, $M +ap_Complete_Date, $Map_Approved_Date );

    But again, this is no way to accomplish your task.

    Also, please use <code></code> tags for even the shortest code snippets: as you can see, in both your posts the square brackets used to denote array indices are not showing. This is because the posting engine treats them as something else because they are not in code tags.



    The way forward always starts with a minimal test.