Jump to content

PhilipK

Members
  • Posts

    57
  • Joined

  • Last visited

    Never

About PhilipK

  • Birthday 01/04/1988

Contact Methods

  • Website URL
    http://PhilipK.ca

Profile Information

  • Gender
    Male
  • Location
    London, Ontario

PhilipK's Achievements

Member

Member (2/5)

0

Reputation

  1. I mainly just edit existing PHP files I have written and go through a trail and error attempts to get things working how I want them to. Are there methods for testing this kind of thing that I should learn?
  2. Hey everyone, I'm having trouble with a simple mail script. I will start with the jQuery which sends a post. $("#email").click(function () { var usersemail = $("#user-email").val() ; $.post("mailform.php", { message: 'feedback', email: 'usersemail' } ); }); }); Next is the php file mailform.php <?php //The email of the sender $email = $_POST['email']; //The message of the sender $message = $_POST['message']; //The subject of the email $subject = "Fanshawe Student Success"; $extra = $email."\r\nReply-To: ".$email."\r\n"; mail($email,$subject,$message,$extra); ?> Not sure why this isn't working? Here is a live version of the App if you would rather test it. http://philipk.ca/Interactive-survey/index.html and here is the php page. http://philipk.ca/Interactive-survey/scripts/mailform.php
  3. Hello, I need to use Jquery or plain Javascript to reverse the order of a list of <span> tags. They all have the class "tweet_text" Any suggestions are greatly appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.