EasyCFM.COM ColdFusion Forums / ASP to CFML / ASP to CFM help

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: ASP to CFM help

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

breeta
02-19-2004 @ 10:18 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 1
Joined: Feb 2004

hello everyone,

i need help in converting the following asp codes to their equivalent cfm ..... any help will be appreciated ..... thankz in advance ..... bye

<%
Set input = Server.CreateObject ("Scripting.Dictionary")
if (Request.form("search_new_database") <> "") then
for each item in Request.form
  input(item) = request.form(item)
next
elseif  (Request.Querystring("search_new_database") <> "") then
for each item in Request.Querystring
  input(item) = request.Querystring(item)
next
end if
%>

<%
if input("another_search") <> "" then
call DisplaySearchForm
elseif input("search_new_database") <> "" then
header=false
response.write ShowItems(input,header)
else
call DisplaySearchForm
end if
%>


Website Designed and Developed by Pablo Varando.