For a guide to the choosing ASP or PHP, click here
Home >> If Statements >> Simple If Statement - String Comparison This code just shows how to make a simple decision block that compares two strings
<% ' declare a variable and set ' the value to Tom dim strName strName = "Tom" ' this will check to see if ' the strName variable is set ' to the string Tom if (strName = "Tom") then ' the next line will only execute if ' strName's value is set to Tom response.write("Yes! It worked!") end if %> What is ASP?
What is PHP?