Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Classic ASP showing variable

Tags:

asp-classic

I just want to show a result of a variable on a page and i am struggling

heres my code, the variable is in a table as you can see

thanks in advance

<tr><td><%
Dim sTest
sTest = "Monkey"
Response.Write("<p>" & sTest & "</p>")
%>
<p> This is Excel </p>
</td></tr>
like image 352
Jaden Fleming Avatar asked Jan 26 '26 01:01

Jaden Fleming


1 Answers

Save the below code as HelloWorld.asp. Open this page in a web browser. Tell us what you see.

(Don't put any html code or anything else)


<%
Dim sTest
sTest = "Hello World"
Response.Write(sTest)
Response.End
%>
like image 69
Michael Riley - AKA Gunny Avatar answered Jan 28 '26 20:01

Michael Riley - AKA Gunny