title: Echo JavaScript result in PHP/HTML source code?
body: <p>This might be a bit difficult to explain but I will try my best. </p>
  
  <p>I have a page that will display some results from JavaScript (time (HH/MM/SS) to be exact).</p>
  
  <p>I need to display the results of JavaScript which is shown on the page <em>in the source code</em> of that page when viewed from a browser, like Firefox right click -> <code>view source files</code>.</p>
  
  <p>I was thinking about echoing the results but that seemed to be a wrong idea, as echoing will only show the results on the page, and not in the source code of the page.</p>
  
  <p>EDIT:</p>
  
  <p>Okay, if it is impossible to show the results of the JavaScript in the page source, then how does this site display the result of the current time, etc, in the page source? I.e. Wednesday, July 31, 2013, etc, etc can be viewed on the page and on the page source.</p>
  
  <p><a href="http://www.timeanddate.com/worldclock/city.html?n=136" rel="nofollow noreferrer">http://www.timeanddate.com/worldclock/city.html?n=136</a></p>
  
  <p>I am using Google Chrome to view the page source.</p>