Advertisement

08.05.2008 at 04:12PM PDT, ID: 23624160
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

Follow up to php email question

Asked by MarleneAyers in PHP Scripting Language

I am trying to set up a scenario where a visitor clicks on a link on the home page and is taken to another page where he enters his first and last name. Then he clicks again and is taken to another page where he views a "template or form letter" using his name as the signature.  I think that attached code is the code I want to use but not sure about a few things. The visitor would click on a link for the home page that would take them to a page that would ask them for their first and last name. Then they click on a button that says show me letter which takes them to another page where  I want them to be able to see the letter nicely formatted  with their name as it will be seen by the recipient. Do I use regular html to do this? Is there any way to combine asking for their first and last name and the email on the same page rather than have the user go to two separate pages? At that point the visitor should have the option to cancel or send. Can I also blind copy another email address?

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
<?php
$Fname = $_POST["Fname"];
$Lname = $_POST["Lname"];?>
 
 
<?php $contents = " August 6, 2008
 
City Council Member
275 E. Olive Avenue
P.O. Box 6459
Burbank, CA  91510
Email:  citycouncil@ci.burbank.ca.us
Dear City Council Member,
 
I am writing in support of the Burbank Community YMCA.  I know there is a proposal pending asking the City Council to grant a loan to the YMCA to enable the purchase property on San Jose Avenue.  This property would then be converted into additional parking spaces for the YMCA, alleviating the current parking shortfall and related safety issues.
 
I urge you to grant the Burbank Community YMCAs full request. Doing so would be in the best interest of supporting the long term health of this organization and the Burbank Community YMCA.  Please vote YES to grant this loan.
 
Respectfully,
 
$Fname." ".$Lname
 
Burbank Resident";
$to = "Youremailaddress";
$from_header = "From: Senderemailaddress";
if($contents != "")
{
   //send mail - $subject & $contents come from surfer input
   mail($to, $subject, $contents, $from_header);
   // redirect back to url visitor came from
  
}
  else
{
   print("<HTML><BODY>Error, no comments were submitted!");
   print("</BODY></HTML>");
}
 
?>
[+][-]08.05.2008 at 08:46PM PDT, ID: 22166996

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Sign Up Now!
Solution Provided By: tg_wilk
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.05.2008 at 08:50PM PDT, ID: 22167011

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.06.2008 at 02:31AM PDT, ID: 22168386

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.06.2008 at 05:15AM PDT, ID: 22169224

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.06.2008 at 06:53AM PDT, ID: 22170173

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628