If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Sep 2006
    Member #
    Hey Guys,
    I am helping someone create an advisor nomination form for GMU. We get the emails, but whenever you access the page for the first time, you get a blank email. Whenever you hit reload, you get another email with the same information you put in before the reload. at 1:30 in the morning today, we got 8 emails with nothing in them. I think that might have been the server as no one knows the site address.
    view it here also :
    Any help ASAP would be awesome, as it's due Friday.

    PHP Code:
    if(empty($advisorsName) || empty($advisorDepartment) || empty($nominatedBy) || empty($reason) || empty($status)){echo"<h2> Please click the back button and fill in all the fields</h2>\n";}
    $to "";
    $advisorsName "\nAdvisors Name: " stripslashes($advisorsName);
    $advisorDepartment "\nAdvisors Department: " stripslashes($advisorDepartment);
    $nominatedBy "\nNominated By: " stripslashes($nominatedBy);
    $major "\nMajor: " stripslashes($major);
    $reason "\nReason: " stripslashes($reason);
    $status "\nStatus: " $status;
    $answers $advisorsName $major $advisorDepartment $status $nominatedBy $reason;
    $subject "Advisor Nomination";
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Academic Advisor of the Year Award</title>
    <style type="text/css">
    .style1 {font-size: 12px}
    .style2 {font-size: 14px; }
    .style3 {font-size: 18px; }
    .style4 {font-size: 16px; }
    #container{margin-left: auto; margin-right: auto; width: 700px; text-align: left;color:#000;}
    <img src="images/logo.jpg" alt="logo" width="740" height="150" />
    <div id="container">
    <h2 class="style3">Purpose</h2>
    <p class="style2">Academic advisors are a vital part of student success. The purpose of this award is to recognize excellence in advising. If you have been advised by or know of an advisor who has had a positive impact on students, please submit the advisor's name for consideration for the undergraduate Academic Advisor of the Year Award. The recipient of the award will be honored at the annual Advising Roundtable which will be held on March 28, 2007.</p>
    <h2 class="style3">Procedure</h2>
    <p class="style2">All students, faculty and staff are eligible to nominate an undergraduate advisor. Any individual serving as an undergraduate academic advisor, undergraduate faculty academic advisor, or advising administrator is eligible for the award with the exception of advisors from the Academic Advising Center, SUB I, Room 304. <strong>Nominations are due by 5 pm, March 9th, 2007</strong>.</p>
    <h2 class="style3">Criteria</h2>
    <p class="style2">The Selection Committee will evaluate nominations based on the following criteria:</p>
    <ul type="disc">
    <li class="style2">Caring, helpful attitude toward students</li>
    <li class="style2">Provides accurate information regarding university academic requirements</li>
    <li class="style2">Availability to students, faculty, or staff</li>
    <li class="style2">Makes appropriate referrals</li>
    <li class="style2">Knowledge of George Mason University regulations, policies, and procedures</li>
    <li class="style2">Supports student development through advising</li>
    <li class="style2">Represents the <em>Spirit of Mason</em></li>
    <h2 class="style4">All Information Provided will Remain Confidential</h2>
    <form id="form1" name="form1" method="post" action="">
    <p>Academic Advisor's Full Name:<br />
    <input name="advisorsName" type="text" id="advisorsName" size="35" />
    <p>Academic Advisor's Department:<br />
    <input name="advisorDepartment" type="text" id="advisorDepartment" size="35" />
    <p>Nominated By:<br />
    <input name="nominatedBy" type="text" id="nominatedBy" size="35" />
    <p>Major (if you're a student):<br />
    <input name="major" type="text" id="major" size="35" />
    <br />
    <br />
    University Status <br />
    <input name="status" type="radio" value="freshman" />
    Freshman<br />
    <input name="status" type="radio" value="sophmore" /> 
    Sophomore<br />
    <input name="status" type="radio" value="junior" /> 
    Junior<br /><input name="status" type="radio" value="senior" />
    Senior<br />
    <input name="status" type="radio" value="faculty/staff" />
    Faculty/Staff<br />
    <input name="status" type="radio" value="other" />
    <input name="otherStatus" type="text" id="otherStatus" value="" />
    <p><strong>Reason</strong>: <br />
    Briefly explain why you feel this advisor should be the Academic Advisor of the year. If possible, give specific examples.<br />
    <textarea name="reason" cols="75" rows="10"></textarea>
    <p>To complete your nomination please click on the <strong>&quot;Submit Nomination&quot;</strong> button below. Thank you for taking the time to submit a nomination. If you have any questions, please contact the Academic Advising Center at 703.993.2470, SUB I, Room 304.</p>
    <input name="Submit" type="submit" id="Submit" value="Submit Nomination" />
    <input name="reset" type="reset" id="reset" value="Reset" />
    <p class="style1">&nbsp;</p>


  3. #2
    Senior Member
    Join Date
    Jun 2005
    Atlanta, GA
    Member #
    1 times
    You could try checking if any of the inputs are actually non-existent (i.e., via an isset() call), as that will indicate that the form data wasn't submitted. Alternatively, you could pass an additional parameter via GET, something like myform.php?action=send, without which the mail won't be sent.

  4. #3
    Junior Member
    Join Date
    Sep 2006
    Member #
    I'm sorry, I'm not following, I'm not that advanced on PHP. How would I use something like "myform.php?action=send"

    Thank you for your quick reply though.
    Also, I tried doing an echo at the end of the mail command, thanking the user for submitting a nomination, like this:

    PHP Code:
    "<p class="style1">Thank you for your submitting your nomination for the Academic Advisor of the Year. </p>"
    And it just brings me straight back to the original page.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 02:47 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: