i'm a newbies with asp so i need you help on this one.
i need a function getparam that returns a siteid as an output.
the input for this function are: input1(that's the parameter we created to link our website to another website) (input2) this one is fixed, and the Parameter value (KlantID).
this function has to run a query
also i need to check via the parameter if the KlantID exists and if true than get the siteID, site email and domainname.
i have done something but it is not complete:
Expand|Select|Wrap|Line Numbers
- function getParam(input1)
- Dim input2
- Dim input3
- Dim KlantID
- Dim strSql
- (here the query)
- OBJDB.GetAry(strSql)
- if(OBJDB.IsNotEmpty)then
- KlantID = True
- else
- KlantId = False
- end if
- (here: if the klantid exists than get siteID, site email and domainname)
- getParam = KlantID
- End function
- %>
thanks