Question For Multi-skilled PHP ASP programmer.?

  • Thread starter Thread starter Vince M
  • Start date Start date
V

Vince M

Guest
In PHP, when you want to change a content of a page using a variable value, you would have done this (in its simplest form):

<html>

<body>

<?
if ($variable == 1) {
?>
The Quick brown fox
<? } ?>

Jumps over the lazy Dog.

</body>
</html>

so, that the URL for example is, "www.example.com/index.php" would display as:

"Jumps over the lazy Dog"

But if you enter "www.example.com/index.php?variable=1" on the address bar, it will display as:
"The quick brown fox Jumps over the lazy Dog"

QUESTION: How will you do this method in ASP using the same variables and produce the same output?
 
Back
Top