Quantcast
750×100
Read WebProNews
With Friends!

Title: Learning ASP Series — Getting Your Hands Dirty With VBScript

Get the WebProNews Newsletter:

I know some people don’t like VBScript for being Microsoft-Centric, but it’s very easy to get familiar with, and once you know how to create your ASP pages in VBScript, you can move on to any programming language of your choice.

First thing first: HTML tags and ASP scripts don’t socialize well, and although it is not a politically correct agenda, you have to segregate them. Whenever you are writing the VBScript code for ASP, enclose the code within

-==-

So if you want to initialize a VBScript variable, do it like this:

-==-

For instance, if you want to use the variable “name” in your HTML (ASP, actually) page, all you have to do is:

-==-

Another example:

-==-

So now its amply clear that whenever you want to insert Server Side code, or a part of it, you enclose it within -==-

You can try making short programs and test run the page.

Amrit Hallan is a freelance copywriter,
and a website content writer. He also dabbles
with PHP and HTML. For more tips and tricks in
PHP, JavaScripting, XML, CSS designing and
HTML, visit his blog at

http://www.aboutwebdesigning.com

About Amrit Hallan
Amrit Hallan is a freelance copywriter, and a website content writer. He also dabbles with PHP and HTML. For more tips and tricks in PHP, JavaScripting, XML, CSS designing and HTML, visit his blog at http://www.aboutwebdesigning.com
Top Rated White Papers and Resources

What do you think? Respond.

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>