php to html email

hi
i am relatively new to php. i am having very small troubles with an internal small business webpage i have put together for ordering. i have the html page where user enters their details and order. then i have the php which displays the order and confirmation, and also emails, in html the details and order. the php page displays everything correctly, but the email only displays the template and none of the user entered data. i am sure that there are mistakes in the codng which are not perfect, but as i said, it is for internal use. also, i can not work out why the email is coming from the web host server, and not the one i have in the code. any help would be greatly appreciated
thanks in advance
cvtest.txt is the html and php.txt is the php file
thanks again


php.txt (9.88 KB)

php.txt (9.88 KB)

cvtest.txt (6.22 KB)

??? This post has no replies, but is marked solved. Did you solve it? If so, you should have posted what was
wrong so others will understand how to fix the issue if they run into it. If not solved, we should alter it so that
it is not marked as solved.

Therefore, did you solve it yourself?

Hi. I marked it as solved as not to waste everyone’s time. I posted this query, then I read how to post by inserting the code into my question via the php button. I reposted with the code and could not delete this post. thought it was the best way…maybe not?

I’ll take care of that.

Sponsor our Newsletter | Privacy Policy | Terms of Service