Hello Monks,
i've a problem putting the right data into the right place of a table,i think the problem is more in my head then in html.
The Table shoud look like this
| sup_1 | sup_2 | ||||
| Product | flag | data_s | data_f | data_s | data_f |
| P_Name | U | 10 | 36 | 2 | 106 |
The Table is build dynamicly from 3 arrays
the @sup array contains all sup's
the @product array contains all P_Names
the @data array contains the hashref for each row, can have blanks,for test purpose i have a normal array
___sup___ 1 2 3 __product__ Now Promo Special Indirect DATA fields PRODUCT,FLAG,SUP,DATA_S,DATA_F __data__ Promo;X;2;10;5 Promo;X;1;22;106 Direct;U;1;; Special;U;1;2;
The table shoud be build out of @product and @sup, and the informations from @data shoud be inserted if it matches,blanks also
my attemps so far are a forech loop for sup, then a for loop for product checking if sup is true or not and insert data.
this ends up in duplicated P_Names and lots of free tabs in the table,so its totals crap ^^
at the moment ims tuc and don't get an idear how to make it, at the end all tabs will be <inputs> to manipulate the data
the table format can not be changed
kd ultibuzz
In reply to dynamic website, putting data into right tablefield's by ultibuzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |