title: Temporary Variable
body: <p>I have a function that retrieves some data from the database, formats it as HTML and then stores this HTML into a variable, <code>$output</code>. The problem is that <code>$output</code> cannot be echoed on the screen now, only later, after other functions run. Also this data must be retrieved at this stage, not later.</p>
  
  <p>So how can I call this <code>$output</code> variable in another function, after output to the screen has started?</p>