sudu hawa

Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    yaluwane help ekak onne

    mehemai mama php walin register code eke liwa

    mekata thanking email ekak yana hati danne na eka mata kiyala denna kooo.. plz help meee.........
    :no::):):):)

    <?php
    $First = $_POST["FirstName"];
    $Last = $_POST["LastName"];
    $Email = $_POST["Email"];
    $Company = $_POST["CompanyName"] ;
    $Address = $_POST["Address"] ;
    $Postal = $_POST["PostalCode"] ;
    $CreateUser = $_POST["CreateUser"] ;
    $CreatePassword = $_POST["CreatePassword"] ;
    $Country = $_POST["Country"] ;
    if (empty($_POST["CreateUser"]))
    {
    echo "Enter All";
    }

    else
    {

    echo "Your Application has Sent..." . "<br>" . "<br>" ;
    echo "Your Details :" . "<br>";
    echo $First . "<br>";
    echo $Last . "<br>";
    echo $Email . "<br>" ;
    echo $Company . "<br>";
    echo $Address . "<br>";
    echo $Postal . "<br>";
    echo $CreateUser . "<br>";
    echo $CreatePassword . "<br>";
    echo $Country . "<br>";

    $username="sudu";
    $hostname="localhost";
    $password="1548";
    $con=mysql_connect($hostname,$username,$password);
    echo "Thank You";
    $select=mysql_select_db("good",$con);

    $result=mysql_query("INSERT INTO sud hawa (CreateUser,CreatePassword) VALUES ('$CreateUser', '$CreatePassword')");
    }


    Plzzz yaluwaneeeeeee help me :(:(:(:(:(:(:(:(:(:(

    ?>
     

    nisalf

    Member
    Jul 24, 2009
    45
    1
    0
    Email code ekak tama me thiyenne


    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".

    "-----------------------------------------------------\n";


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');

     

    sudu hawa

    Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    Email code ekak tama me thiyenne


    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".

    "-----------------------------------------------------\n";


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');



    yaluwa bohoma pin thanks..
     

    sudu hawa

    Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    Email code ekak tama me thiyenne


    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".

    "-----------------------------------------------------\n";


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');


    mekata amathara massage ekak daganne kohomada machan
     

    sudu hawa

    Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    "
    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".
    "metana message eka dapan me widiyatama\n".

    "-----------------------------------------------------\n";


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');


    meke machan pahalata space ekak ganne "<br>". gahalada ???
     

    sudu hawa

    Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    නෑ මචන් '\n' තමා line break karanne

    "blaaaaaaaaaaaa blaaaaa \n"
    "blaa blaaa \n"

    machan mena uba mata dipu code eka {
    "
    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".
    "metana message eka dapan me widiyatama\n".

    "-----------------------------------------------------\n";


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');

    "metana message eka dapan me widiyatama\n". kotasa pahata ganna onneeeee
     

    nisalf

    Member
    Jul 24, 2009
    45
    1
    0
    machan mena uba mata dipu code eka {
    "
    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".
    "metana message eka dapan me widiyatama\n".

    "-----------------------------------------------------\n";


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');

    "metana message eka dapan me widiyatama\n". kotasa pahata ganna onneeeee
    මෙහෙම කරලා බලපන්

    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".

    "-----------------------------------------------------\n";
    "metana message eka dapan me widiyatama,part 1\n".
    "metana message eka dapan me widiyatama,part 2\n".


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');
     

    sudu hawa

    Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    මෙහෙම කරලා බලපන්

    $to = "[email protected]"; //the address the email is being sent to
    $subject = "Subject of email"; //the subject of the message
    $msg = "Registration-$_POST[name]:\n".
    "-----------------------------------------------------\n".

    "Title: $_POST[title]\n".
    "Name: $_POST[name]\n ".
    "Address 1 : $_POST[address1]\n".
    "Address 2 : $_POST[address2]\n".
    "Country : $_POST[country]\n".

    "-----------------------------------------------------\n";
    "metana message eka dapan me widiyatama,part 1\n". mata one mena methanta amathara spce ekak pahalata
    "metana message eka dapan me widiyatama,part 2\n".


    mail($to, $subject, $msg, 'From: Nisal Fernando <[email protected]>');

    machan oka wada niyamata
     

    sudu hawa

    Well-known member
  • Dec 1, 2011
    1,627
    100
    63
    "\n";
    "\n";
    "\n";


    මෙහෙම කරලා බලපන් මොකද වෙන්නේ කියල එතනට

    athe na machan kamak na bn uba mata mechara hari kiyala dunnata thanks machan. okkkkkkk puluwan nam okathe karala dipan machan mama yanwa sellam karanna.. ok