Error with string

Results 1 to 2 of 2

Thread: Error with string

  1. #1
    Adrian Guest

    Default Error with string

    COuld someone tell me how to fix this?<BR>Response.Redirect ("updateprice.asp?name="RSproduct("name") & "&id=" & RSproduct("id") & "&price=" & RSproduct("price") & "&brand=" & RSproduct("brand") & "&product=" & RSproduct("product"))<BR><BR>What am i doing wrong<BR>

  2. #2
    Join Date
    Dec 1969

    Default You are missing an ampersand...

    Look at the very first thing you do! "updateprice.asp?name="RSproduct("name") ...<BR><BR>Ummm...where, pray tell, is the ampersand between the literal string and the function call???<BR><BR>You have every other ampersand in place, so far as I can see, and missed the most obvious one!<BR><BR>Yes, you are allowed to go have a slightly strong liquid refreshment and then kick your computer keyboard.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts