Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Andy #1
I have another one -
Im trying to pass two variables to a details page.
The code below creates a link like this:
update.asp?username=andyproductid=50
How do i get the link to be update.asp?username=andy & productid=50
<A HREF="update.asp?<%= MM_keepNone & MM_joinChar(MM_keepNone) & "username="
& RSPriceUpdate.Fields.Item("username").Value & "productid=" &
RSPriceUpdate.Fields.Item("productid").Value
%>"><%=(RSPriceUpdate.Fields.Item("ProductID").Val ue)%></A>
Thanks
Andy
Andy Guest
-
Nathon Jones #2
Re: I have another one -
Hi Andy
You are missing an "&" character between "andy" and productid. It should
read:
update.asp?username=andy&productid=50 (no spaces)
Would this work?...
<%= MM_keepNone & MM_joinChar(MM_keepNone) & "username=" &
RSPriceUpdate.Fields.Item("username").Value & "&productid=" &
RSPriceUpdate.Fields.Item("productid").Value %>">
HTH
Nath.
"Andy" <AndyjhughesNOSPAM@ntlworld.com> wrote in message
news:d3gido$lfj$1@forums.macromedia.com...> Im trying to pass two variables to a details page.
> The code below creates a link like this:
> update.asp?username=andyproductid=50
>
> How do i get the link to be update.asp?username=andy & productid=50
>
> <A HREF="update.asp?<%= MM_keepNone & MM_joinChar(MM_keepNone) &
> "username=" & RSPriceUpdate.Fields.Item("username").Value & "productid=" &
> RSPriceUpdate.Fields.Item("productid").Value
> %>"><%=(RSPriceUpdate.Fields.Item("ProductID").Val ue)%></A>
>
>
> Thanks
> Andy
>
>
Nathon Jones Guest
-
Andy #3
Re: I have another one -
Thanks Nath
You're a star. and I'm thick
Andy
In my defence I am very tired!
"Nathon Jones" <nathon@SHPAMkirkmoor.com> wrote in message
news:d3glgo$q6t$1@forums.macromedia.com...> Hi Andy
>
> You are missing an "&" character between "andy" and productid. It should
> read:
> update.asp?username=andy&productid=50 (no spaces)
>
> Would this work?...
>
> <%= MM_keepNone & MM_joinChar(MM_keepNone) & "username=" &
> RSPriceUpdate.Fields.Item("username").Value & "&productid=" &
> RSPriceUpdate.Fields.Item("productid").Value %>">
>
> HTH
>
> Nath.
>
> "Andy" <AndyjhughesNOSPAM@ntlworld.com> wrote in message
> news:d3gido$lfj$1@forums.macromedia.com...>>> Im trying to pass two variables to a details page.
>> The code below creates a link like this:
>> update.asp?username=andyproductid=50
>>
>> How do i get the link to be update.asp?username=andy & productid=50
>>
>> <A HREF="update.asp?<%= MM_keepNone & MM_joinChar(MM_keepNone) &
>> "username=" & RSPriceUpdate.Fields.Item("username").Value & "productid="
>> & RSPriceUpdate.Fields.Item("productid").Value
>> %>"><%=(RSPriceUpdate.Fields.Item("ProductID").Val ue)%></A>
>>
>>
>> Thanks
>> Andy
>>
>>
>
>
Andy Guest



Reply With Quote

