why variable $lang_add
doesn't work in function below? Do I need declare it like add_button($lang_add)
?
function add_button($module) {
echo '<a href="?do=add" class="button">',$lang_add,'</a>';
}
EDIT: My code now is:
function add_button($module) {
require("languages.php");
echo '<a href="?do=add" class="button">',$lang_add,'</a>';
}
$lang_add is defined in languages.php and still it doesn't show in function.