Ask a Question related to ASP Database, Design and Development.
-
Ken Schaefer #1
Re: passing 2 values from a page to another ASP page
<a href="page2.asp?var1=Value1&var2=Value2">click</a>
or use a link that invokes some javascript to post the form -if- you still
want to use a form.
Cheers
Ken
"Mohammed AM Dwaikat" <dwaikat@maktoob.com> wrote in message
news:%23JKIVA3JEHA.2624@TK2MSFTNGP09.phx.gbl...
: Hi folks
:
: I am new to asp, but I have 2 pages, I submit a value in a textbox, press
: submit button to open the other page that searches an Access record and
: display its contents. I want to replace the button with a hyperlink, I did
,
: but how to pass the 2 variables , or one variable
: Please if anyone can help
:
: Thank you
:
:
Ken Schaefer Guest
-
Passing values from web page to php script
Hi Everyone, First excuse my language and the way I explain things. I try to be clear enough. I do have a simple system that processes... -
Accessing Values of local variables in previous page when using custom error page
Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all... -
Passing values from one page to another
Hello all, -------------------------------------------- //Page0.php <a href="page1.php?empid=1">Enter</a>... -
passing variables from first page to third
I am new to the world of ASP, and at the same time VBscript (also a firt time poster). I am currently creating a multiple page form where the... -
HELP! Passing from database to asp page allowing user input then passing to another database.
My big problem is I'm a newbie working with someone else's code.(See code below) What I want to do is for the records that have a purchase order... -
Mohammed AM Dwaikat #2
passing 2 values from a page to another ASP page
Hi folks
I am new to asp, but I have 2 pages, I submit a value in a textbox, press
submit button to open the other page that searches an Access record and
display its contents. I want to replace the button with a hyperlink, I did ,
but how to pass the 2 variables , or one variable
Please if anyone can help
Thank you
Mohammed AM Dwaikat Guest
-
Bullschmidt #3
Re: passing 2 values from a page to another ASP page
Example URL with a querystring:
[url]http://www.mysite.com/mydir/mypg.asp?myvar1=hey&myvar2=ho[/url]
Because a variable might contain some odd characters like spaces, it's
usually a good idea to use Server.URLEncode when creating a querystring
from a variable:
<a href="http://www.mysite.com/mypage?id=<%=
Server.URLEncode(objRS("MyIDFldFromDB")) %>">objRS("MyIDFldFromDB")</a>
And in the page that is opened you can use Request.QueryString("id") to
get the value of id.
Best regards,
J. Paul Schmidt, Freelance ASP Web Consultant
[url]http://www.Bullschmidt.com[/url]
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest
-
Mohammed AM Dwaikat #4
Re: passing 2 values from a page to another ASP page
Thanx tooo much, it works fine
"Mohammed AM Dwaikat" <dwaikat@maktoob.com> wrote in message
news:%23JKIVA3JEHA.2624@TK2MSFTNGP09.phx.gbl...,> Hi folks
>
> I am new to asp, but I have 2 pages, I submit a value in a textbox, press
> submit button to open the other page that searches an Access record and
> display its contents. I want to replace the button with a hyperlink, I did> but how to pass the 2 variables , or one variable
> Please if anyone can help
>
> Thank you
>
>
Mohammed AM Dwaikat Guest



Reply With Quote

