Or how use get method in ASP C#?
Expand|Select|Wrap|Line Numbers
- <html>
- <head>
- </head>
- <body>
- <p align="center">This text befor script. Don't change</p>
- <?php
- $id = $_GET['id'];
- if ($id == "") {
- ?>
- <p align="center">This index.<a href="index.php?id=news">Go to news?</a></p>
- <?
- }
- if ($id == news) {
- ?>
- <p align="center"><a href="index.php?id=menu">Go to index.php?id=menu ?</a></p>
- <?
- }
- if ($id == menu) {
- ?>
- <p align="center"><a href="index.php">Ther is "menu", go to index meniu?</a></p>
- <?
- }
- ?>
- <p align="center">This is under script. Don't change</p>
- </body>
- </html>