Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-19 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found