in reply to Re^8: Help with CGI::WIDGET::TABS
in thread Help with CGI::WIDGET::TABS

The data shown will be from the query with the ? (a placeholder) replaced by the the active tab heading $tab->active

SELECT team as TEAM, url as URL
  FROM sports
  WHERE sport = ?

So you only get the data associated with that tab

poj

Replies are listed 'Best First'.
Re^10: Help with CGI::WIDGET::TABS
by dirtdog (Monk) on Aug 03, 2017 at 19:58 UTC

    Ok. I think I get it now. I'm running this as a perl batch script to create the html and then ftp it to our webserver to display the html. This is not meant to be used as a batch script I guess. Maybe CGI::WIDGET::TABS is not the right module for me to use? My goal was to generate the html one time, put in on the webserver, and have tabs that would display the relevant content when each tab was selected. Is what I'm looking to do possible with this module?