View Single Post
Old 03-04-2008, 07:14   #1 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,611
PHP to ASP. Super simple query

I'm converting some php into asp. It's very simple stuff but I don't have a test server.
Would someone please confirm that I'm not missing anything obvious.

PHP Code:
<?php $page "Page Name"?>
<?php 
if($page) { echo " | $page";} ?>

to

Code:
<% Dim pageName pageName = "Page Name"; %> <% If pageName Then Response.Write(" | pageName") End If %>

Thanks
__________________

Last edited by mx : 03-04-2008 at 07:47.
  Reply With Quote