N
.Net Sports
I have a select pulldown html menu that takes values from a database,
and then send it to the next page via form action = post for
processing. I have assigned the select box name Category, and when it
goes to the next page, if a category name has a space in it, it will
truncate the category name after the first space. I'm using
Server.URLencode to try and keep the string intact, but the category
name still gets truncated:
'''how i am labeling my select pulldown, with the data for the option
value:
<select name=Category>
response.write "<option value=" & RSCATEGORY("catname") & ">" &
RSCATEGORY("catname") & "</option>"
'''how I am calling the category name on the next page
RSEVENTS("category") = Server.URLencode(request.form("Category"))
TIA for help
NS
and then send it to the next page via form action = post for
processing. I have assigned the select box name Category, and when it
goes to the next page, if a category name has a space in it, it will
truncate the category name after the first space. I'm using
Server.URLencode to try and keep the string intact, but the category
name still gets truncated:
'''how i am labeling my select pulldown, with the data for the option
value:
<select name=Category>
response.write "<option value=" & RSCATEGORY("catname") & ">" &
RSCATEGORY("catname") & "</option>"
'''how I am calling the category name on the next page
RSEVENTS("category") = Server.URLencode(request.form("Category"))
TIA for help
NS