How do I insert and show Harbour code inside TEMPLATE/ENDTEXT
How do I insert and show JS code inside TEMPLATE/ENDTEXT
Thank you in advance
Otto
Code: Select all
function Controller( cRequest )
cContent = If( Empty( cRequest ), "home",;
If( cRequest $ "wishlist,login,cart,checkout", cRequest, "home" ) )
TEMPLATE
<h1>My First Heading</h1>
<p>My first paragraph.</p>
ENDTEXT
? cContent