look for each php in html E-mail

Lets see if anyone can solve this one... it must be a known issue.

I collect information from a form (information in the 'hidden' fields as):

< input type is 'hidden' name = value "product_name]" is "{$item ['product_name']}" >

< input type is 'hidden' name = value "rise []" is "$total_product_price" >

On the page of process information, I collect information in variables:

$product_name = $_POST ['product_name'];

$amount = $_POST ["amount"];

If I take the information to the page as below, then the structure of the table is correct (2 columns side by side)

< table width = "600" >

< b >

< td >

<? PHP

foreach ($product_name as $result) {}

echo $result. "< br / > ';

}

? >

< table >

< td >

<? PHP

{foreach ($amount as $result)

echo $result. "< br / > ';

}

? >

< table >

< /tr >

< /table >

However, if I try to send it as an html element "e-mail" as bottom of the stack of columns under one of the other well that if I find the source code in the HTML email the structure of the table is correct. If I copy from the html email and paste it into a normal page of DW, the structure is correct.

It must be something to do with the e-mail client do not < br > tags?

$orderMessage =' < table width = "600" style = "" margin: 0 auto; ">"

< b >

< td > ';

foreach ($product_name as $result) {}

$orderMessage. = $result. "< other > ';

}

$orderMessage. = ' < table >

< td > ';

{foreach ($amount as $result)

$orderMessage. = $result. "< other > ';

}

$orderMessage. = ' < table >

< /tr >

< /table > ';

See you soon

Operating system

STUPID! STUPID! Mistake, I left > off at the end of the openingtag.

Which took 2 days on and outside to discover that. I was so absorbed in getting the e-mail message html built and the loop foreach bloody doing what I demanded that I was stubborn on the fact that it could be something else and that he was convinced that it was down to that, as much as the 3 other email clients show the structure properly.

Tags: Dreamweaver

Similar Questions

  • Look for the variables from HTML

    Hello

    I'm checking for a var that is passed in a SWF via HTML (file.swf? var1 = something) However when I check for the var on the first image, all by publishing the SWF in the test environment it tells me that the var is not set.

    If (s == 'something') {}
    doSomething();
    } else {}
    doSomethingElse();
    }

    The var may or may not be passed into the SWF file. So when I test this locally in the Flash authoring environment the output window tells me it is ' is not defined. Is there a way to test without defining "?" Definition ' will overwrite any value that is passed into the file SWF will not it?

    Thank you

    LoaderInfo (this.root.loaderInfo.parameters);

  • Syntax coloring for PHP in HTML files

    I would like to than consistent syntax throughout my documents, which may be some CSS, HTML or PHP. However, when I write the PHP code in something else that a PHP document, it comes out in a format single or double-color, making it much less 'pretty' and not nearly as easy to read. The HTML contains color CFM and ASP options, but not PHP (and I don't want to format the color twice in preferences anyway). I tried to group files .html with color PHP/MySQL grouping under DocumentTypes (Dreamweaver 8/Configuration/DocumentTypes), that works, but results in a crash whenever I look at anything, but a document.

    No matter who encounter this behavior, or better yet, a solution so that syntax highlighting of Dreamwever constant inside itself?
    BWT, it comes to Dreamweaver 8.0.2, Mac OS X 10.4.7. And the rest of the Studio is installed as well.

    While Randy solution wasn't what I was looking for because I found something similar that works for me.
    See http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16410
    When I * moved * .html .htm AND doctype HTML (first statement) section, DW would break. So, since I don't use a .htm, I just moved .html and renamed the doctype first from "html" to "htm". Works with no crash.

    Just wish it was... global CSS should look like CSS, PHP, PHP, etc. Well, works fine now.

  • I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. Help

    I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. HELP PLEASE. previous e-mail files are under mail then mail.earthlink* .net and each of the five mail .net is an email address I have. I can't find a way to identify each file by email to the specific email address (IE mail.my E-mail name.net) so I can copy the files and emails from the past to the email addresses now under tbird. previous installed e-mail identities may not be the current configuration of e-mail files in tbird. I think that I must be sure that mail.name.net matches the previous mail.name.net to be able to copy and paste the old to the new. is there a way to find the file name correct the old email and correspond to the new? all my emails very important information are mostly in the old mail electronic id and must be available in the identification of email again (but same) how can I do this?

    http://KB.mozillazine.org/Importing_folders

    Use this module.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

  • Where can I find support for html 5 tags for each version of Firefox?

    Where can I find support for html 5 tags for each version of Firefox?

    Thanks for the help.

    See:

  • I am looking for a CONTACT BOOK which is outaide of my e-mail applications. Is this one? If so, what is it

    Looking for an ADDRESS BOOK outside of applications of electronic mail. Is this one? If so, what is his name? Thank you!

    Acer 8 10 Windows switch. I found it on my own actually. I'm sure there is more than one, but I really wanted a stand one. Thanks a lot for giving of your time to help others like me. I have been using an iPad for a long time. Since the iPad 2 is released. Before that I always used Win 98 to XP. I have trouble understanding 8 win for sure. I am more confused on the mixture of Acer and Win. There is a section for the Acer applications, then the op win - there is a new issue, so I might be in the wrong place or against a rule, but if possible can you tell me what are the two systems for? They are interactive? I am far from thinking there are two distinct divisions of track? Once again, you who help us who are confused, ignorant etc. are greatly appreciated! My Question itself can be confusing. My brain does not make the most popular way. I often misunderstood and am often misunderstood and it has been like that my whole life. I can get big brands in terms of schooling etc, it's just a weird thing that when everybody zigs I zag. Very creative and not logical to 99.9% of the population. We often come to the same conclusion, I just take a different route. .i tell you that incase I can't feel or interpret something oddly.
    Thank you, once again!

  • I'm looking for the download of mail from windows to windows vista Home premium

    I'm looking for the download of mail from windows to windows vista family premium, windows mail becomes thousands of spam also sound on my computer is as well spent.

    If the computer fully-patched to Windows Update, the "latest version" of Windows Mail is already installed.

  • BlackBerry Bold 9000 BlackBerry Smartphones - adding a folder to the home page for each e-mail address

    I have four e-mail addresses on my BlackBerry.  On the desktop, I have a folder in the form of an envelope that says 'Messages' and in which are all messages to all my email addresses are placed.  I have another folder in the form of an envelope with a small globe below showing one of my email addresses, and it includes the messages that came to this address.  Before I had my BlackBerry repaired, I got "mail" general plus four separate files with small globes on them for each of my email addresses.  Please, can someone tell me how to recover these other records yet?

    Go to Setup email. As soon as it opens, press the menu key and select Return Service books.

  • Windows Live Mail asks 'permit sender' for each email, even when they are in the list of contacts

    Why Windows Live Mail 2011 'permit sender' for each email.  They are in my contact list?

    How can I revert to a previous version, where I don't have this problem?

    You may have missed...

    Sticky: you have a Hotmail or Windows Live Mail issue?
    http://answers.Microsoft.com/thread/8bd31c48-d1a7-49D6-a08c-9069aaeba2e5

  • Looking for adobe certified companies that can create a web site of muse with java and PHP for me

    Looking for adobe certified companies that can create a web site of muse with java and PHP for me

    Relationship problems he...

    1: nothing like the Adobe Certified companies

    2: sites of Muse do no PHP support.

  • I look integrated in the block of the legend of slide show, a widget like "Accordion" for, with one click, or by the way with the mouse, open a new caption for each photo. I tried with 'Accordion' Muse, it does not work. I haven't tried to copy and paste,

    Issue.

    I look integrated in the block of the legend of slide show, a widget like "Accordion" for, with one click, or by the way with the mouse, open a new caption for each photo. I tried with 'Accordion' Muse, it does not work. I haven't tried to copy and paste, but no result. The widget disappear into the legend of block. disappear. Do you have a solution?

    Thank you

    Loïc

    Accordion Panel tabs should, with click and open the container.

    Please provide the url of the site where it does not, also if you can provide an example where we can see the exact action, then it would help us.

    Thank you

    Sanjit

  • You are looking for a fully functional Audio Player HTML 5, which has a capacity of playlist

    Does anyone know how to build, find or buy a full functioning HTML 5 Audio Player that has a playlist. I found the mp3 player only small but I am looking for a full functioning Audio Player that can load and play several songs in an album, etc.. I see beautiful video HTML 5 players in the world, but it seems that nobody understood how a great Audio Player that plays several songs. Help

    You can try these:

    soul http://amazingaudioplayer.com/How-to-Insert-an-HTML5-audio-Player-to-your-webpage-with-IFR.

    http://www.musegrid.com/Adobe-Muse-widgets/audio-Widget

    http://www.Muse-themes.com/blogs/News/8285249-embedding-a-mobile-tablet-friendly-audio-PLA yer

    Thank you

    Sanjit

  • Mege of mail and e-mail pdf separated for each recipient?

    With Office 2010 - can I create mail merge using Word and Excel database doc to create PDF files and then send separate pdf personalized for each recipient in the list database?
    What version of Acrobat do I need? Is there a free trial?

    Thank you

    Yes, there is a free trial of Adobe Professional on Adobe's Web site. There are only two versions of Acrobat on Windows (Standard and Professional). On Mac, there are only of Acrobat Professional. The trial on the website is for Adobe Professional

  • redirect when you are looking for a search site

    I had a problem with NickJr.com/kids and flashplayer not pluging in Firefox, so I decided to get rid of all this. I uninstalled Flash Player, I saved my mozilla profile and then uninstalled firefox and personal setting completely. Now when I do a search on google for 'nick' find NickJr.com/kids it loads the results and then redirects immediately and asked if I was looking for my ID google? I look for something else in the world, but the word nickname?

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    See also:

  • generation of XML for each record

    I have a table db with a few thousand records in it. I need to generate an xml file for each record so that it can power a search machine.

    Can someone help me with this? I could not get it. Here is the example of table.

    create table test_xml)

    number of U_ID

    title varchar2 (500),

    VARCHAR2 (500) keywords.

    Description varchar2 (500),

    VARCHAR2 (500) of the user.

    e-mail varchar2 (500),

    initiator_function varchar2 (500),

    function_impacted varchar2 (500),

    old_request_num varchar2 (500),

    project_region varchar2 (500)

    );

    insert into test_xml values (1, "Heading1 test", "blah bla1", "test 123 ', 1234567',' [email protected]', 'test init funct', 'funct hit test', '55556677', 'abc' ');

    insert into test_xml values (2, 'Title2 test', 'blah bla2', ' test 1232', 1234522',' [email protected]', 'test init funct2 ',' test power supply impacted2', ' 55556679', 'abcccs' ");

    the end result is an XML for each record in this format.

    <? XML version = "1.0" encoding = "utf-8"? >

    <! DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA RSS / / IN" "" > "".

    < gsafeed >

    < header >

    < datasource > ID 1 < / datasource >

    < feedtype > full < / feedtype >

    < / header >

    <>Group

    " < analysis record immediately = 'true' url = ' http://test.com/SearchResult.php?id=1 "action = 'Add' mimetype =" text/html"lock ="true"> "

    < content > <! [CDATA]

    < html >

    < head >

    Heading1 test < title > < /title >

    < meta name = "Keywords" content = "bla bla1" / >

    < name meta = "description" content = "testing 123" / >

    < name meta = "user" content = "1234567" / >

    " < name meta = 'EMAIL' content = ' [email protected] " />

    < name meta = "Source" content = "1" / >

    < / head >

    < body >

    < p > user: 1234567

    < p > EMAIL: bob . [email protected] 

    < p > INITIATOR_FUNCTION: test init funct

    < p > FUNCTION_IMPACTED: test hit funct

    < p > OLD_REQUEST_NUM: 555566777

    < p > PROJECT_REGION: abc

    < /p > < / body >

    < / html >

    []] > < / content / >

    < / recording >

    < / Group >

    < / gsafeed >

    Thanks for any help.

    I'd use SQL/XML functions, more rapid way to generate XML from relational data data.

    Something like the following should you get.

    It displays a document (such as a CLOB) per line in the base table:

    with html_content as (
      select xmlcdata(
               xmlserialize(document
                 xmlelement("html"
                 , xmlelement("head"
                   , xmlelement("title", t.title)
                   , xmlelement("meta", xmlattributes('Keywords' as "name", t.keywords as "content"))
                   , xmlelement("meta", xmlattributes('description' as "name", t.description as "content"))
                   , xmlelement("meta", xmlattributes('user' as "name", t.user_ as "content"))
                   , xmlelement("meta", xmlattributes('EMAIL' as "name", t.email as "content"))
                   , xmlelement("meta", xmlattributes('Source' as "name", t.u_id as "content")) -- ??
                   )
                 , xmlelement("body"
                   , xmlelement("p", 'EMAIL: '||t.email)
                   , xmlelement("p", 'INITIATOR_FUNCTION: '||t.initiator_function)
                   , xmlelement("p", 'FUNCTION_IMPACTED: '||t.function_impacted)
                   , xmlelement("p", 'OLD_REQUEST_NUM: '||t.old_request_num)
                   , xmlelement("p", 'PROJECT_REGION: '||t.project_region)
                   )
                 )
                 indent
               )
             ) as content
      from test_xml t
    )
    select '' ||
           '' ||
           xmlserialize(document
             xmlelement("gsafeed"
             , xmlelement("header"
               , xmlelement("datasource", 'ID 1')
               , xmlelement("feedtype", 'full')
               )
             , xmlelement("group"
               , xmlelement("record"
                 , xmlattributes(
                     'true' as "crawl-immediately"
                   , 'http://test.com/searchresult.php?ID=1' as "url"
                   , 'add' as "action"
                   , 'text/html' as "mimetype"
                   , 'true' as "lock"
                   )
                 , xmlelement("content", html.content)
                 )
               )
             )
             indent
           )
    from html_content html ;
    

    NB: indent option is to print only, you can remove it if you don't need.

Maybe you are looking for