Jump to content

justsomeguy

Moderator
  • Posts

    31,575
  • Joined

  • Last visited

  • Days Won

    77

justsomeguy last won the day on September 23 2019

justsomeguy had the most liked content!

6 Followers

About justsomeguy

  • Birthday 06/03/1979

Previous Fields

  • Languages
    Focusing on PHP and JavaScript

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Phoenix

Recent Profile Visitors

301,625 profile views

justsomeguy's Achievements

w3schools Guru

w3schools Guru (7/7)

1.1k

Reputation

Single Status Update

See all updates by justsomeguy

  1. hi there,

    the following code is not executing


            <?php
            if(isset($_POST['submit']))
            {
                $fname=$_POST['fname'];
                $lname=$_POST['lname'];
                $email=$_POST['email'];
                $phone=$_POST['phone'];
                $cname=$_POST['cname'];
                $reason=$_POST['reason'];
                $web=$_POST['web'];
                $smart=$_POST['smart'];
                $im=$_POST['im'];
                $cd=$_POST['cd'];
                $ms=$_POST['ms'];
                
                
                $con='Firstname:'.$fname."<br>Lastname:".$lname."<br>Email:".$email."<br>Phone:".$phone."<br>Company:".$cname."<br>Reason:".$reason."<br>".$web."<br>".$smart."<br>".$im."<br>".$cd."<br>".$ms;
                $to="aaa@bbb.com";
                $sub="invoice";
                mail($to,$sub,$con);
                if( mail($to,$sub,$con))
                {
                    echo "<script type='text/javascript'>alert('submitted successfully!')</script>";
                }
                
            }
            
            ?>

×
×
  • Create New...