title: Can I return html from a classic asp vbscript asp function? What about PHP?
body: <p>Can I call a Classic ASP vbscript function and have it return html?  I have a function that does some calculations, but I want it to send back the html as well.  Will it do that? .</p>
  
  <pre><code>response.write MyFunction()
  function myFunction()
    return "&lt;b&gt;test&lt;/b&gt;"
  end function
  </code></pre>
  
  <p>I get a type mismatch error.</p>
  
  <p>Second question, please, If this were php, can I send back html and do something like echo MyPHPFunction()?</p>
  
  <p>I didn't know if php was different than asp/vbscript on this.  It seems you can send just about anything around in php.</p>
  
  <p>Thank you.</p>