Helpful Information
 
 
Category: Client & Server Side Scripting (PHP, ASP, JavaScript)
FUNCTION OR PROCEDURE? : Output of resultset: HTML, CSS, JavaScript, PHP

HI there,

I working with ASP and Access.

I wish to not output my query results within the HTML and output from a procedure or function (i am not sure which one to use) which is called from with in the htl,

By this I mean, where my result set would be output , i wish to use say a
<%= getResults() %>

and the procedure/function use document.write("")

MY QUESTIONS : do I use a function or procedure? Whats is the syntax? and do I use
document.write("html")
Are there any other rules I should remember?

cheers

Steve










privacy (GDPR)