function display_footer(){ $footer = "info here"; return $footer;}// and in the other file$myvar = display_footer();