RE: [PHP] PHP vs. ASP
| From: | Sean Malloy | Date: | Wed, 08 Jan 2003 07:42:57 +0000 |
| Subject: | RE: [PHP] PHP vs. ASP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130720@lists.php.net to get a copy of this message | ||
oops
function isset(byval checkVar)
dim ret
if (len(checkVar) > 0) then
ret = true
else
ret = false
end if
isset = ret
end function
meh
-----Original Message-----
From: Sean Malloy [mailto:sean@element.net.au]
Sent: Wednesday, 8 January 2003 6:42 PM
To: php-general@lists.php.net
Subject: RE: [PHP] PHP vs. ASP
I'm not really sure what you mean in terms of ASP needing two or more pages?
<%
dim pageAction
pageAction = Request("action")
select case pageAction
case "postit": InsertFormData()
case else : ShowForm()
end select
sub InsertFormData()
end sub
sub ShowForm()
Response.Write("<html><head></head><body>TheForm</body></html>")
end sub
%>
or whatever.
as far as isset goes?
function isset(byval checkVar)
dim ret
if (len(checkVar) > 0) then
ret = true
else
ret = false
end if
end function