<param> Value
How can we get the <param> value for <object> in ASP
View RepliesHow can we get the <param> value for <object> in ASP
View RepliesIn asp page how can I do this, can't seem to get it right
iInvNum = 123456
Response.Redirect "mypage.asp?invnum=iInvNum"
^ wrong here
I need to redirect based on a param and here is what I am using:Code:
If Request("catid") = "9" Then Response.Redirect "ClassCatRealEstateSales.asp"
my guess is that there is a syntax problem, I am not getting an error because I have other lines that will catch blank ids and the like and redirect to a main page and that is working.
I try to accomplish something like this:
<!--#include file="menu_<%response.write (strproduct)%>.html"-->
But unfortunally, I quess there is something with my syntax... any idea ?
I have a form where a user can choose one or more options from drop-down menus to search the db :
service
town
county
The id's are all numbers in a MySql database. I have put the default param for each search as % and this only changes if the relevant search option is chosen: Code:
I am trying to run the following t-sql stored proc from my VBScript page
Create Procedure getUserInfo
(
@login nvarchar(8)
)
AS
USE proj_dashboard
SELECT f_forename, f_surname, f_profile_id
FROM t_users
WHERE f_login = @login
basically I wasnt to pull in the login of the user pass it to the proc and pull out the info for that user. I use the following sql statement Code: