How to send Mail Using PHP

Visitor’s Views: 652 Step 1: You need to create a form Example: <!– start .contact-form –> <div class=”contact-form”> <form method=”post” > <div class=”input-field”> Name: <br><input type=”text” class=”form-control” name=”name” required=”” title=”Please Enter Your Name Here”> </div> <div class=”input-field”> Email id: <br><input type=”email” class=”form-control” name=”email” required=”” title=”Please Enter Your Email Here”> </div> <div class=”input-field”> Mobile: <br><input type=”text” Continue Reading


Registration API For Android Application

Visitor’s Views: 432 It can help you for mobile application. <?php $host=”localhost”; $pass=”password”; $user=”user_name”; $dbname=”dbname”; $con=mysqli_connect($host, $user, $pass, $dbname) or die (‘connection faild’); $response = array(“error” => FALSE); if($_REQUEST[‘account_type’]!=”){ extract($_REQUEST); $query=” SELECT * FROM `table_name` WHERE username=’$_REQUEST[username]’”; $run=mysqli_query($con,$query); $numrow = mysqli_num_rows($run); if($numrow<1) { $query=”INSERT INTO `admin`(`name`, `phone_no`, `email`, `account_type`, `username`, `password`,`permission`) VALUES (‘$name’ , ‘$phone_no’ Continue Reading