i have this code
$courses = array("name_lic", "name_mes", "name_dou"); How i can add to array if name_lic, name_mes, name_doucare defined?
For example: name_lic is defined then, is insert in array, name_mes is not defined or is empty then is not inserted in the array and name_dou also.
basically the array only can have strings that are defined
in my example should be:
$courses = array("name_lic");
$_POSTarray?"