php question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ..\\Dutch./..

    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.


  • Erwin Moller

    #2
    Re: php question

    ...\Dutch./.. wrote:
    [color=blue]
    > 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.[/color]

    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:
    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


    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

    Comment

    • Tim Van Wassenhove

      #3
      Re: php question

      In article <c82i6g$eji$1@r eader11.wxs.nl> , ..\Dutch./.. wrote:[color=blue]
      > I created a webshop and thats working great
      > But i have a small problem which i cant get solved.[/color]

      Or it works and has no problems or ...
      [color=blue]
      > 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.[/color]

      This question has been answered many times before in this newsgroup...
      So i suggest that you look it up.


      --

      Comment

      • Justin Koivisto

        #4
        Re: php question

        ...\Dutch./.. wrote:
        [color=blue]
        > The auto responder is plain text and looks like shit so i had the idea to
        > make that part html formatted.[/color]

        Don't. Use plain text. If you want to create pretty tables, look into
        the printf and sprintf functions.

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

        Comment

        Working...