title: php Code Prints out in screen instead of executing?
body: <p>It worked exactly fine few hours back, but now its showing the code in the browser instead of executing it. Rechecked the code thrice, checked with the file extension, even retyped the whole code into a new php, this bug is haunting me..</p>
  
  <p>My code goes like this:</p>
  
  <pre><code>&lt;?php include('usersign.php'); ?&gt;
  
  &lt;?php
  
  $servername  = "localhost";
  $dbusername = "root";
  $dbpassword = "******";
  $dbname = "userdatabase";
  
  $username = $_POST['username'];
  $email = $_POST['email'];
  $category1 = $_POST['category1'];
  $category2 = $_POST['category2'];
  $category3 = $_POST['category3'];
  $password = $_POST['password'];
  $date = date_default_timezone_set('Asia/Kolkata');
  $date = date('M-d,Y H:i:s');
  
  
  $conn = new mysqli ($servername, $dbusername, $dbpassword, $dbname);
  if ($conn-&gt;connect_error) {
      die("Connection failed: " . $conn-&gt;connect_error);
  }
  
  
  $sql = "INSERT INTO user (username, email, category1, category2, category3, password, date)
  VALUES ('$username', '$email', '$category1', '$category2', '$category3', '$password', '$date')";
  if ($conn-&gt;query($sql) === TRUE) {
  echo '&lt;script language="javascript"&gt;';
  echo 'alert("You have succesfully registerd with userdatabase Please login..")';
  echo '&lt;/script&gt;';
  echo '&lt;a href="usersign.php"&gt;&lt;/a&gt;';
  }
  else {
      echo "ERROR" . $sql . "&lt;br&gt;" . $conn-&gt;error;
  }
  
  $conn-&gt;close();
  ?&gt;
  </code></pre>
  
  <p>Any suggestions are Appreciated...</p>