in reply to Re: [Solved]: Can we use print <<HTML; twice in same file?
in thread [Solved]: Can we use print <<HTML; twice in same file?

What is in the NAME field of comm_desk_widget_status. Are they names like 'trunk_usage','post_ivr', etc ?

poj
  • Comment on Re^2: [Solved]: Can we use print <<HTML; twice in same file?

Replies are listed 'Best First'.
Re^3: [Solved]: Can we use print <<HTML; twice in same file?
by Perl300 (Friar) on Aug 25, 2015 at 20:04 UTC
    mysql> desc comm_desk_widget_status; +--------------+--------------+------+-----+-------------------+ | Field | Type | Null | Key | Default | +--------------+--------------+------+-----+-------------------+ | user | varchar(100) | NO | PRI | NULL | | name | varchar(200) | NO | PRI | | | display | varchar(200) | NO | | NULL | | active | int(1) | NO | | 1 | | ts | timestamp | NO | | CURRENT_TIMESTAMP | | last_updated | varchar(100) | YES | | NULL | +--------------+--------------+------+-----+-------------------+
    This is the table description.

      But what is in the name field ?. I ask because you seem to be using the sort order on that field to match the order of input fields on your page.

      poj
        And "name" column has all those entires for which I have created checkboxes. Like

        (column)Name: average_speed_answer (col)display: Average Speed of Answer

        (column)Name: percent_trunk_usage (col)display: % Trunk Usage

        etc... For example:

        +-------+-------------------------+-------------------------+--------+ | user | name | display | active | +-------+-------------------------+-------------------------+--------+ | admin | average_speed_answer | Average Speed of Answer | 1 | | admin | ivr_call_volume | IVR Call Volume | 1 | | admin | non_outage_call_volume | Non-Outage Call Volume | 1 | | admin | outage_call_volume | Outage Call Volume | 1 | | admin | percent_trunk_usage | % Trunk Usage | 1 | | admin | post_ivr_call_volume | Post-IVR Call Volume | 1 | | admin | pre_ivr_call_volumn | Pre-IVR Call Volume | 1 | | admin | trunk_group_utilization | Trunk Group Utilization | 1 | +-------+-------------------------+-------------------------+--------+