php gurus

Out of context: Reply #5

  • Started
  • Last post
  • 11 Responses
  • fusionpixel0

    Ok, really quick explanation

    this is a custom mail class so that I can use it with different forms.

    the foreach request is in a function inside the class so I can call the functions in order.

    Basicly this is what happens.

    a>check user fill out the form
    b> if they did, get all the form values
    c> email

    for debugging in step c> I am postig the results to the browser so i can see it but its not a go, the foreach is working fine, if i echo the $values all of them echo fine. but when i want to use them to paste them as a part of another file, this all crumbles.

    Is this still confusing?

    If it is I can post the code in a PHP site.

    TIA

View thread