Why bother with ASP at all, when HTML can serve your needs? If you want to display information, all you have to do is fire up your favorite text editor, type in a few HTML tags, and save it as an HTML file.
Bingo, you?re done!
In short arrays are variables that can store more than one value. They are used to store a series of related information.
Lets create an array called 'myArray' that will hold the names of 7 soccer teams.
ASP: Another acronym (As if you hadnt guessed) which stands for "Active Server Pages". This suggests quite a lot about the technology already, in that its processed, or parsed server side and its dynamic in nature, rather than static technologies like HTML.
Below are two examples of how to deal with bad words. Example 1 receives text entered into a form textfield called 'txtComments'. The code strips out any bad word(s) that you choose to enter into the array 'badChars'. In this script we have deemed that the words 'rubbish', 'crap' and 'shit' are unacceptable and should be removed.
Sometimes when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this. Conditional statements are the set of commands used to perform different actions based on different conditions. VBScript has 2 conditional statement constructions, available for you to use in your ASP pages: If...then...else and Select Case. Both perform in saw way the same task.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.