Please help, I am new to php. I need to add a small new functionality to the existing file.
What is $table_key
How to find the field name referencing to .$field_name.
//// country select
$table_key = $multi_lang->TableKey(COUNTRY_SPR_TABLE);
$strSQL = "select distinct a.id, b.".$field_name." as name from ".COUNTRY_SPR_TABLE." a left join ".REFERENCE_LANG_TABLE." b on b.table_key='".$table_key."' and b.id_reference=a.id order by name ";
I am trying to add a new drop down select list box: to show all states for a country.
Please help if you can, i am also attaching the php file with .tpl file.
Thank you very much.