Re: form and arrays[]




> To turn these variables into a string, you could do something like
> this:
>
> $str = '';
> for($i = 0; $i < 12; $i++) {
> $str .= $_POST['description'][$i] . "," . $_POST['description'][$i]
> . "\n";
> }
>
The first part works extremely well .. thank you. The 2nd part has two
issues:

1. each description is repeated twice
2. the new line tag is not being recognized

Any suggestions on how this should be fixed would be much appreciated ...
thanks again for your help so far!


.



Relevant Pages

  • Struts link tag
    ... I want to use the tag to make a link to a certain webpage. ... The URL of this page is a string that is stored in the database. ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: Get Previous URL
    ... Returns a string containing the URL of the page that referred ... the request to the current page using an tag. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Option Buttons in VB.NET
    ... For this is the tag from every control very useful. ... As string it is than ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: Getting Start/End time, etc. from IPM.Schedule.Meeting.Resp.Po
    ... So, if I understand you correctly, I can get at these named properties by ... both marked with the same string. ... to GetIDsFromNames and "or" the returned tag with teh appropriate type (e.g. ... then iterating over the list and calling ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Linked List & Dynamic Memory Allocation
    ... for every call to malloc but when I do that inside the for loop I end ... You attach a string to the ... you can find your lunch is to start at the tag labeled "lunch" and follow it to the box on ... Suppose I have 1000 cubic feet of "memory". ...
    (microsoft.public.vc.mfc)