form and arrays[]



I am building an online expense form that a user would fill out and then
have the submitted expense for emailed to a predefined recipient.

I need to capture the expense line items (up to 12 and each comprised of
date,description,exchange rate, meals,tranportation,hotel and misc) to build
the body of the email message. My assumption is that I need to capture the
line items in an array first and then convert to a string with line breaks?
Once I have built up the (multi-dimensional) array up, I will need to break
it up into strings in order to be included as part of the body of the email
message?

thanks in advance for some guidance.

Ian
(PHP newbie)



.



Relevant Pages

  • Re: Ruby 1.9 string slicing and StringScanner pointers
    ... positions you could handle it that way at the expense of an additional ... String instance for each match. ... wouldn't be of much use if it gave a character offset, ... reasons for the fact that accessing the nth character is expensive ...
    (comp.lang.ruby)
  • Re: Hmmm, Its Curious
    ... end = string + strlen; ... I'm philosophically opposed to optimizing the degenerate case ... at any expense at all to the general case. ...
    (comp.lang.c)
  • Re: string parsing
    ... The string: "ABC DEFG HIJK LMN OPQ" ... I can have fun at my own expense. ...
    (comp.lang.php)
  • Re: Ruby 1.9 string slicing and StringScanner pointers
    ... with $' you get the remainder of the string so when not using ... positions you could handle it that way at the expense of an additional ... String instance for each match. ... buffer between two arbitrary match positions. ...
    (comp.lang.ruby)