Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 14th, 2007, 1:11 PM   #11
woocha
Newbie
 
woocha's Avatar
 
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0 woocha is on a distinguished road
here is an attached photo of the available fields
Attached Images
File Type: jpg PHPMyAdmin.jpg (54.4 KB, 22 views)
__________________
FREE Online Auctions at:
http://www.woocha.com/auctions
woocha is offline   Reply With Quote
Old Sep 14th, 2007, 1:13 PM   #12
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
No, write your message as if it's an HTML page. Some people won't have the ability to display HTML, though, so bear that in mind. You might want to send it as a mult-part message, with one part text/plain and the other part text/html.

You should see the RFC for details. Alternatively, view the source of some message you've received in HTML. You'll see what I mean.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 14th, 2007, 1:16 PM   #13
woocha
Newbie
 
woocha's Avatar
 
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0 woocha is on a distinguished road
Quote:
Originally Posted by DaWei View Post
No, write your message as if it's an HTML page. Some people won't have the ability to display HTML, though, so bear that in mind. You might want to send it as a mult-part message, with one part text/plain and the other part text/html.

You should see the RFC for details. Alternatively, view the source of some message you've received in HTML. You'll see what I mean.
What is "RFC"?
__________________
FREE Online Auctions at:
http://www.woocha.com/auctions
woocha is offline   Reply With Quote
Old Sep 14th, 2007, 4:52 PM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
. Your credibility as an expert provider is rising by the second.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 14th, 2007, 4:53 PM   #15
woocha
Newbie
 
woocha's Avatar
 
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0 woocha is on a distinguished road
xpert provider of what.....
__________________
FREE Online Auctions at:
http://www.woocha.com/auctions
woocha is offline   Reply With Quote
Old Sep 14th, 2007, 5:02 PM   #16
woocha
Newbie
 
woocha's Avatar
 
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0 woocha is on a distinguished road
Quote:
Originally Posted by DaWei View Post
. Your credibility as an expert provider is rising by the second.


then Stop replying to my posts, you mean old bastard.....
__________________
FREE Online Auctions at:
http://www.woocha.com/auctions
woocha is offline   Reply With Quote
Old Sep 14th, 2007, 7:37 PM   #17
woocha
Newbie
 
woocha's Avatar
 
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0 woocha is on a distinguished road
As it turns out, the problem was in the PHP code, NOT the MySQL table.....I was missing a few step in the PHP and needed to rewrite the headers to my Mail() function...Everything is working great now, and thank you all for the help along the way.
$company_name = $r['company_name'];
$company_email = $r['email'];	
if ($action == "decline")
{
	$query	= "delete from orders where id=$id and merchant=$merchant";
	mysql_query( $query);
$message = stripslashes($r['emaildecline']);


$headers  = "MIME-Version: 1.0 \r\n" .
            "Content-type: text/html; charset=iso-8859-1\r\n" .
            "From: $company_name <$company_email>\r\n" .
            "Reply-To: $company_email"; 
if ($sendemail == "yes") 
{

  mail("\"$name\" <$email>", 
     "Your order has been declined!", 
     $message,
      $headers); 
}
}

I am only posting this so other people can fix this problem without having to go through what I went throuygh....If you have any questions, reply to this thread
__________________
FREE Online Auctions at:
http://www.woocha.com/auctions
woocha is offline   Reply With Quote
Old Sep 14th, 2007, 10:58 PM   #18
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Sorry about that man. I only tried to help.
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Sep 15th, 2007, 4:22 AM   #19
woocha
Newbie
 
woocha's Avatar
 
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0 woocha is on a distinguished road
Quote:
Originally Posted by ReggaetonKing View Post
Sorry about that man. I only tried to help.
No....thank you very much for your help.....by looking at the DB in PHPMyAdmin, I was able to learn an offal lot about some things I had not plaed with before, so Thank you.
__________________
FREE Online Auctions at:
http://www.woocha.com/auctions
woocha is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
start Learning HTMl smita HTML / XHTML / CSS 0 Mar 15th, 2007 7:38 AM
Basic HTML Tutorial - Reuben Keeney ReubenK HTML / XHTML / CSS 14 Mar 26th, 2006 5:50 AM
How to detect cursor location and insert text??? syntax-error C# 3 Jun 30th, 2005 1:42 AM
how do i automate text data and input into database? lionel84 C# 0 Jun 26th, 2005 9:35 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:49 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC