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:[EMAIL PROTECTED]]
Sent: Wednesday, 8 January 2003 6:42 PM
To: [EMAIL PROTECTED]
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to