Mixeh
19-11-2000, 04:34
just moving from php (which i know very little about) to asp (which i know even less about) because of access to a win2k server.
what i want to do is basicly turn this into asp and ssi:
<?php
if ($pika == 'jiggly') {include("jigglypuff.txt");}
elseif ($pika == 'bulba'){include("bulbasaur.txt");}
elseif ($pika == 'char') {include("charmandar.txt");}
elseif ($pika == 'claf') {include("clafairy.txt");}
else {include("pokemon_r_gh3y.txt");}
?>
i expect it will be much the same but dont want to start anything till im sure.
Would this be right?:
<%
if ($pika == 'jiggly') {<!--#include file="jigglypuff.txt-->}
else {<!--#include file="weeeeeeeeee.txt-->}
%>
Cheers
what i want to do is basicly turn this into asp and ssi:
<?php
if ($pika == 'jiggly') {include("jigglypuff.txt");}
elseif ($pika == 'bulba'){include("bulbasaur.txt");}
elseif ($pika == 'char') {include("charmandar.txt");}
elseif ($pika == 'claf') {include("clafairy.txt");}
else {include("pokemon_r_gh3y.txt");}
?>
i expect it will be much the same but dont want to start anything till im sure.
Would this be right?:
<%
if ($pika == 'jiggly') {<!--#include file="jigglypuff.txt-->}
else {<!--#include file="weeeeeeeeee.txt-->}
%>
Cheers