QueryString not working

Results 1 to 3 of 3

Thread: QueryString not working

  1. #1
    S S Shah Guest

    Default QueryString not working

    I am stucked up at a place where I have to pass querystring to another page. The script is working fine if I pass integer values o stings without space but cannot pass stings like 3:00 to 6:00 pm.<BR><BR>My script is something like this<BR><BR>&#060;a href="form.asp?movie="movie_name"&showtime="3:00 to 6:00 pm."&#062;3:30 to 6:30 pm&#060;/a&#062;<BR><BR>The script runs fine for showtime="1" but not for the string "3:00 to 6:00 pm."<BR><BR>I am very new to this field.Please Help.<BR><BR>

  2. #2
    harish Guest

    Default RE: QueryString not working

    &#060;%<BR>myTime=sever.urlencode("3:00 to 6:00 pm.")<BR>%&#062;<BR>&#060;a href="form.asp?movie="movie_name"&showtime=&#060;% =myTime%&#062;&#062;3:30 to 6:30 pm&#060;/a&#062;<BR>

  3. #3
    S S Shah Guest

    Default RE: QueryString not working

    Thanks for your help. My code is working fine now.

Posting Permissions

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