If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > PHP email question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-11, 10:43
jamesyg jamesyg is offline
Registered User
 
Join Date: Oct 2011
Posts: 3
PHP email question

Hi there, wondering if you can help.

I have created a MySql database where a user enters information, upon hitting the send button an email is generated to an email address.

I have two questions.

If no data is entered into that particular field how do I not show that field. eg if someone didn't say what their favourite football team is, the email send wouldn't even show that option.

Second question - If they update any of their information in the database, at them moment when they hit submit an email again is generated but all the information is sent. How do i only send the updated information not the whole record?

hope you genius can help!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On