Jump to content

dude123

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by dude123

  1. that worked..thank you very much!!

    in the ASP code, try using name="Video[<%=i+1%>]" so then the code printed will be name="Video[1]" if i is 0. then you can treat $_POST['Video'] like an array.
    I would like to do that..but I am not in a position to decide on that. Thanks anyway.
    If you are going to use PHP to submit the form, use PHP to do the sessions as well... there's no point using more than 1 server language.
  2. I have an ASP page where I have the following. <% strvideos = Session("VideoList")SelList = split(strvideos,"###",-1)UppBound = UBound (SelList,1) for i=0 to UppBound-1%> and then , I put it in a form field like shown below.<input type="hidden" name="Video<%=i+1%>" value="<%=SelList(i)%>"> <%NEXT%>Now, I extract this form and send automatic e-mails using PHP. When I try to extract the content in the form element "Video", I get an error saying its undefined. The extraction code is like this,$strvideos = $_POST[ 'Video' ];and then I try to treat $strvideos as an array and display it. I guess my question is HOW TO EXTRACT THE CONTENT IN THE FORM ELEMENT "Video" . I may be stupid enough not to figure this out but I couldn't. Can any one help me on this.Babu.

×
×
  • Create New...