Text for Select, in MSLA2 - Multiple Select Lists

Posts: 20

Text for Select, in MSLA2 - Multiple Select Lists

I have a question:
This script ( http://coursesweb.net/php-mysql/filter-multiple-select-lists_s2 ) uses the column names in the database tables for the <select> text: site, menu, categ, link,...
How can I display a different name? (for safety)?

I just made a new version of that script, which has this feature to set the text for drop-down select lists. Download it from the site and see the Installation instructions.

- To set the text that is displayed in front of each <select> list, edit data of the $col_sel array:

Code: Select all

// HERE add the columns that will be used for <select> lists,
// and the Text that will be displayed to the <select> associated to each column ('column_name'=>'text')
$col_sel = array('site'=>'Sel:site', 'menu'=>'Sel:menu', 'categ'=>'Sel.3');

Adv. Posts: 01

Similar Topics