Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default php question

    Hi all

    I created a webshop and thats working great
    But i have a small problem which i cant get solved.

    When a customer checks out he sees a confirmation page
    which he can print. That same page sends also a autoresponder that shows the
    customer what he just buyed.

    The auto responder is plain text and looks like shit so i had the idea to
    make that part html formatted.

    I added all codes for that into the script but when i receive
    the email i just see also the code and not the nice tables that i wanted.

    Anyone here who can tell me what is the correct way to create this?

    Thanks and sorry for my bad english.


    ..\\Dutch./.. Guest

  2. Similar Questions and Discussions

    1. Newbie Question: Biz Card Template Question
      Hi, I got the Pagemaker PlugIn - I am using one of the templates for Business Cards - the elements appear to be grouped (bound box all around when I...
  3. #2

    Default Re: php question

    ...\Dutch./.. wrote:
    > Hi all
    >
    > I created a webshop and thats working great
    > But i have a small problem which i cant get solved.
    >
    > When a customer checks out he sees a confirmation page
    > which he can print. That same page sends also a autoresponder that shows
    > the customer what he just buyed.
    >
    > The auto responder is plain text and looks like shit so i had the idea to
    > make that part html formatted.
    >
    > I added all codes for that into the script but when i receive
    > the email i just see also the code and not the nice tables that i wanted.
    >
    > Anyone here who can tell me what is the correct way to create this?
    >
    > Thanks and sorry for my bad english.
    Hi,

    2 things:

    <Dutch>
    Eerst geef ik je even op je flikker omdat je iets heel erg fout doet.
    Verderop geef ik je antwoord.
    OK?
    </Dutch>

    1) DO NOT POST TO MANY NEWSGROUPS!
    That is considered rude (=onbeschoft)
    For example: You are sending your question to:
    alt.php.sql do you think your question has anything to do with sql??

    and php.install
    Does your question have anything to do with installing PHP?
    No.
    So don't send there.
    In general: always send to 1 newsgroup unless you have some very good reason
    not to.

    Please understand MANY people don't answer your question if you post to many
    newsgroups at the same time because they consider you an @^%^!!X!!
    I guess you are new, so please check a FAQ on nettiquette.
    (google for it)

    2) Why does your HTML not show up?
    Read this:
    [url]http://nl3.php.net/manual/en/function.mail.php[/url]

    It is all there.
    And remember that your emailclient must be able to receive HTML-formatted
    messages. Not all clients have that! So you might reconsider sending the
    email in HTML.

    Good luck/succes,
    Erwin Moller
    Erwin Moller Guest

  4. #3

    Default Re: php question

    Hi.

    Indeed i am new and was not aware that this was 'not to do' so please
    forgive this newbie.

    Thanks for your answer Erwin


    "Erwin Moller"
    <since_humans_read_this_I_am_spammed_too_much@spam yourself.com> schreef in
    bericht news:40a4d30b$0$61616$e4fe514c@news.xs4all.nl...
    > ..\Dutch./.. wrote:
    >
    > > Hi all
    > >
    > > I created a webshop and thats working great
    > > But i have a small problem which i cant get solved.
    > >
    > > When a customer checks out he sees a confirmation page
    > > which he can print. That same page sends also a autoresponder that shows
    > > the customer what he just buyed.
    > >
    > > The auto responder is plain text and looks like shit so i had the idea
    to
    > > make that part html formatted.
    > >
    > > I added all codes for that into the script but when i receive
    > > the email i just see also the code and not the nice tables that i
    wanted.
    > >
    > > Anyone here who can tell me what is the correct way to create this?
    > >
    > > Thanks and sorry for my bad english.
    >
    > Hi,
    >
    > 2 things:
    >
    > <Dutch>
    > Eerst geef ik je even op je flikker omdat je iets heel erg fout doet.
    > Verderop geef ik je antwoord.
    > OK?
    > </Dutch>
    >
    > 1) DO NOT POST TO MANY NEWSGROUPS!
    > That is considered rude (=onbeschoft)
    > For example: You are sending your question to:
    > alt.php.sql do you think your question has anything to do with sql??
    >
    > and php.install
    > Does your question have anything to do with installing PHP?
    > No.
    > So don't send there.
    > In general: always send to 1 newsgroup unless you have some very good
    reason
    > not to.
    >
    > Please understand MANY people don't answer your question if you post to
    many
    > newsgroups at the same time because they consider you an @^%^!!X!!
    > I guess you are new, so please check a FAQ on nettiquette.
    > (google for it)
    >
    > 2) Why does your HTML not show up?
    > Read this:
    > [url]http://nl3.php.net/manual/en/function.mail.php[/url]
    >
    > It is all there.
    > And remember that your emailclient must be able to receive HTML-formatted
    > messages. Not all clients have that! So you might reconsider sending the
    > email in HTML.
    >
    > Good luck/succes,
    > Erwin Moller

    ..\\Dutch./.. Guest

  5. #4

    Default Re: php question

    ...\Dutch./.. wrote:
    > Hi all
    >
    > I created a webshop and thats working great
    > But i have a small problem which i cant get solved.
    >
    > When a customer checks out he sees a confirmation page
    > which he can print. That same page sends also a autoresponder that shows the
    > customer what he just buyed.
    >
    > The auto responder is plain text and looks like shit so i had the idea to
    > make that part html formatted.
    >
    > I added all codes for that into the script but when i receive
    > the email i just see also the code and not the nice tables that i wanted.
    >
    > Anyone here who can tell me what is the correct way to create this?
    >
    > Thanks and sorry for my bad english.
    >
    >
    Suppose you're coding php?

    In addition to the comments made by Erwin, please be more specific and
    SHOW CODE. That will sharply increase the chance someone is gonna help.

    Change

    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";

    to

    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

    <dutch class=gr>moi,</dutch>
    Joost


    Joost Guest

  6. #5

    Default Re: php question

    ...\Dutch./.. wrote:
    > The auto responder is plain text and looks like shit so i had the idea to
    > make that part html formatted.
    Don't. Use plain text. If you want to create pretty tables, look into
    the printf and sprintf functions.

    --
    Justin Koivisto - [email]spam@koivi.com[/email]
    PHP POSTERS: Please use comp.lang.php for PHP related questions,
    alt.php* groups are not recommended.
    Justin Koivisto Guest

  7. #6

    Default PHP question

    Is their any special downloads or patched needed to use DWMX with PHP.
    I downloaded PHP nuke with Mysql and Apache server.
    I am just learning and am trying to figure out what I need.
    I am using xp home.


    Nic Guest

  8. #7

    Default Re: PHP question

    On Thu, 3 Mar 2005 11:02:55 -0600, Nic <innnn@2ndrfden.net> wrote:
    > Is their any special downloads or patched needed to use DWMX with PHP.
    > I downloaded PHP nuke with Mysql and Apache server.
    > I am just learning and am trying to figure out what I need.
    > I am using xp home.
    >
    >
    You can use PHP natively with Dreamweaver. DWMX first ask you for a
    sevrver model when you start building your site. If you want to work with
    PHP-Nuke please make sure you connect correctly to it through dreamweaver.

    This means that your testing server and remote server should be pointing
    to the server folder or Directory Root (/www/)

    Also make sure that you Apache-PHP-MySQL are working togheter and
    correctly.

    Load the php-nuke database to your dreamweaver:
    [url]http://www.macromedia.com/devnet/mx/dreamweaver/articles/php_videos/0604_dreating_a_dynamic_table.mov[/url]


    --
    Alexandro Colorado
    ------------------------------
    Support Engineer
    InterAKT Online
    [url]http://www.interaktonline.com[/url]
    Tel: 40(21) 312.5312
    Alexandro Colorado Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139