470,833 Members | 1,438 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

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.
Jul 17 '05 #1
3 1480
...\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:
http://nl3.php.net/manual/en/function.mail.php

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
Jul 17 '05 #2
In article <c8**********@reader11.wxs.nl>, ..\Dutch./.. wrote:
I created a webshop and thats working great
But i have a small problem which i cant get solved.
Or it works and has no problems or ...
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.


This question has been answered many times before in this newsgroup...
So i suggest that you look it up.
--
http://home.mysth.be/~timvw
Jul 17 '05 #3
...\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 - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mohammed Mazid | last post: by
3 posts views Thread by Stevey | last post: by
10 posts views Thread by glenn | last post: by
53 posts views Thread by Jeff | last post: by
56 posts views Thread by spibou | last post: by
2 posts views Thread by Allan Ebdrup | last post: by
3 posts views Thread by Zhang Weiwu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.