title: Warning: session_start(): Cannot send session cache limiter - headers already sent
body: <p><a href="https://i.stack.imgur.com/8I0Tf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8I0Tf.jpg" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>This is error :- Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/solifotech/meraapp.solidaleinfotech.com/myBills.php.2) in /home/solifotech/meraapp.solidaleinfotech.com/myBills.php.3</p>
    
    <p>Here My codes</p>
  </blockquote>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> 
  &lt;?php
  session_start();
   
    
  
   include('dbConfig.php');
  
    
   
   if (!isset($_SESSION["userEmailid"]))
   {
    header('LOCATION:main_login.php'); 
    exit();
   }
   $userEmailid=$_SESSION["userEmailid"];
   
   
   $Q2=mysql_query("SELECT * FROM user where user_email='$userEmailid'");
   while($row = mysql_fetch_array($Q2)){
    $userName=$row['user_name'];
    $user_id=$row['user_id'];
    $userEmail=$row['user_email'];
   } 
   
    
  ?&gt;
  &lt;?php include('header.php');?&gt;
  &lt;body&gt;
    &lt;section class="w-section mobile-wrapper"&gt;
  
      &lt;div class="page-content" id="main-stack"&gt;
        &lt;div class="w-nav navbar" data-collapse="all" data-animation="over-left" data-duration="400" data-contain="1" data-easing="ease-out-quint" data-no-scroll="1"&gt;
          &lt;div class="w-container"&gt;
    &lt;?php include('navbar.php');?&gt;
           &lt;!--- &lt;nav class="w-nav-menu nav-menu" role="navigation"&gt;
              &lt;div class="nav-menu-header"&gt;
                &lt;div class="logo"&gt;Mera App&lt;/div&gt;
                &lt;div class="slogan"&gt;All you need is here.&lt;/div&gt;
              &lt;/div&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="index.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-home-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Splash Screen&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="login.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-download-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Login&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="signup.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-cloud-upload-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Sign Up&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="forgot.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-unlocked-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Remember Password&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="todo-list.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-list-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;To Do List&lt;/div&gt;
                &lt;div class="nav-menu-text-right"&gt;8&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="addnew.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-checkmark-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;New To Do&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="messages.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-albums-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Messages&lt;/div&gt;
                &lt;div class="nav-menu-text-right"&gt;8&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="chat.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-chatboxes-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Chat&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="groups.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-keypad-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;News Groups&lt;/div&gt;
                &lt;div class="nav-menu-text-right"&gt;12&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="news.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-paper-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;News List&lt;/div&gt;
                &lt;div class="nav-menu-text-right"&gt;14&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="newitem.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-compose-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;News Post&lt;/div&gt;
                &lt;div class="nav-menu-text-right"&gt;14&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="about-us.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-person-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;About the App&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="maps.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-location-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Maps&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="elements.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-box-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Elements&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link" href="settings.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-gear-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Settings&lt;/div&gt;
              &lt;/a&gt;
              &lt;a class="w-clearfix w-inline-block nav-menu-link last" href="terms.html" data-load="1"&gt;
                &lt;div class="icon-list-menu"&gt;
                  &lt;div class="icon ion-ios-bookmarks-outline"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="nav-menu-titles"&gt;Terms and Conditions&lt;/div&gt;
              &lt;/a&gt;
              &lt;div class="separator-bottom"&gt;&lt;/div&gt;
              &lt;div class="separator-bottom"&gt;&lt;/div&gt;
              &lt;div class="separator-bottom"&gt;&lt;/div&gt;
            &lt;/nav&gt;----&gt;
            &lt;div class="wrapper-mask" data-ix="menu-mask"&gt;&lt;/div&gt;
            &lt;div class="navbar-title"&gt;My Bills&lt;/div&gt;
            &lt;div class="w-nav-button navbar-button left" id="menu-button" data-ix="hide-navbar-icons"&gt;
              &lt;div class="navbar-button-icon home-icon"&gt;
                &lt;div class="bar-home-icon"&gt;&lt;/div&gt;
                &lt;div class="bar-home-icon"&gt;&lt;/div&gt;
                &lt;div class="bar-home-icon"&gt;&lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="body"&gt;
        &lt;div class="logo-login"&gt;&lt;/div&gt;
          
           
            &lt;!--&lt;div class="w-tab-content tabs-content"&gt;
              &lt;div class="w-tab-pane w--tab-active w-clearfix tab-pane" data-w-tab="Tab 1"&gt;
                &lt;div class="group-block"&gt;
                  &lt;a class="w-inline-block" href="#" data-load="1"&gt;
                   
                    &lt;div class="group-title"&gt;
                      &lt;div class="title-text" style="padding:5px 5px; color:#FFF; background:#4fd2c2; text-align:center"&gt;My Manuals&lt;/div&gt;
  
                    &lt;/div&gt;
                  &lt;/a&gt;
                &lt;/div&gt;
                &lt;div class="group-block last"&gt;
                  &lt;a class="w-inline-block" href="#" data-load="1"&gt;
                   
                    &lt;div class="group-title"&gt;
                      &lt;div class="title-text" style="padding:5px 5px; color:#FFF; background:#4fd2c2; text-align:center"&gt;My Bills&lt;/div&gt;
                    &lt;/div&gt;
                  &lt;/a&gt;
                &lt;/div&gt;&lt;br&gt;
              &lt;center&gt; &lt;div class="group-block last" style="margin-top:20px; margin-left:60px"&gt;
                  &lt;a class="w-inline-block" href="#" data-load="1"&gt;
                   
                    &lt;div class="group-title"&gt;
                      &lt;div class="title-text" style="padding:5px 5px; color:#FFF; background:#4fd2c2; text-align:center"&gt;My Warrenty Cards&lt;/div&gt;
                    &lt;/div&gt;
                  &lt;/a&gt;
                &lt;/div&gt;&lt;/center&gt;
                
              &lt;/div&gt;
              
            &lt;/div&gt;----&gt;
      &lt;?php
      include('dbConfig.php');
      ?&gt;
      &lt;?php
     
  if(isset($_POST['upload']))
  { 
  
  
  
  /// File Add
  $bills_file = $_FILES['billscopy']['name'];
  
  
  // file Temp 
  $tembills_file =$_FILES['billscopy']['tmp_name'];
  
  //uploading image to its folder
  
  move_uploaded_file($tembills_file,"mybills/$bills_file");
  
  mysql_query("INSERT INTO `mybills`(`user_id`, `user_name`, `user_email`, `bills_copy`) 
   VALUES ('$user_id','$userName','$userEmail','$bills_file')") or die(mysql_error());
   echo "&lt;div class='alert alert-success'&gt;Bills Copy Added Successfully.&lt;/div&gt;";
  }
  
  
  ?&gt;
    
  
   
  &lt;style&gt;
      form input[type="file"] {
            display: none;
          }
    &lt;/style&gt;
             &lt;div class="w-tabs" data-duration-in="400" data-duration-out="400" data-easing="ease-out-quint"&gt;
             &lt;form method="post"  enctype="multipart/form-data" action="#"&gt;
                &lt;div&gt;
                  &lt;center&gt;&lt;label for="fileToUpload"&gt;
        &lt;img src="upload_img.png" width="70px" height="70px" /&gt;
      &lt;/label&gt;
      &lt;input type="File" name="billscopy" id="fileToUpload" accept="image/*" capture="camera" data-name="full-name" required&gt;&lt;/center&gt;
     &lt;br&gt;
                  &lt;!---&lt;center&gt;&lt;input class="form-control" id="full-name-field" type="file" name="billscopy" accept="image/*" capture="camera" data-name="full-name" required&gt;
                  &lt;div class="separator-fields"&gt;&lt;/div&gt;&lt;/center&gt;
                &lt;/div&gt;---&gt;
                  &lt;center&gt;&lt;button type="submit" class="btn btn-info" name="upload"&gt;Upload
        &lt;span class="glyphicon glyphicon-upload"&gt;&lt;/span&gt;
      &lt;/button&gt;&lt;/center&gt;
              &lt;/form&gt;
  &lt;!--========================Fetch All bills data======================-------------------------&gt;
  
  
     &lt;br&gt;&lt;br&gt;
     &lt;h3 style="text-align:center; "&gt;My Bills&lt;/h3&gt;
  &lt;!-------------------===================Start dynamice table grid ===============================================-----------&gt;
  &lt;?php
  
  
  // SQL query to interact with info from our database
  //$sql = mysql_query("SELECT * FROM mybills where user_email='$userEmail'"); 
  //$i = 0;
  // Establish the output variable
  //$dyn_table = '&lt;center&gt;&lt;table  cellpadding="10"&gt;';
  //while($row = mysql_fetch_array($sql)){ 
      
      //$id = $row["biils_id"];
      //$bills_file = $row["bills_copy"];
      
      //if ($i % 3 == 0) { // if $i is divisible by our target number (in this case "3")
        //  $dyn_table .= '&lt;tr&gt;&lt;td&gt;' .'&lt;img src=mybills/'. $bills_file .' width=100 height=50&gt;'. '&lt;/td&gt;';
     // } else {
          //$dyn_table .= '&lt;td&gt;' .'&lt;img src=mybills/'. $bills_file .' width=100 height=50&gt;'. '&lt;/td&gt;';
      //}
     // $i++;
  //}
  //$dyn_table .= '&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;';
  ?&gt;
  
  
  &lt;?php// echo $dyn_table; ?&gt;
  
  &lt;!----==============================End Table grid ===============================================---------------&gt;
    
  
    &lt;?php 
    $sql = mysql_query("SELECT * FROM mybills where user_email='$userEmail'"); 
    while($row = mysql_fetch_array($sql)){ 
    $product_id=$row[5];
    
    
    ?&gt;
     &lt;center&gt;&lt;table&gt;
     &lt;tr&gt;
     &lt;td&gt;&lt;img src='mybills/&lt;?php echo $row[7];?&gt;' width=100 height=100 class="img-thumbnail" style="margin-left:50px;"&gt;&lt;a href="delete_bills.php?bills=&lt;?php  echo $row[0];?&gt;"&gt;&lt;span class="glyphicon glyphicon-remove" 
     style="position: relative;
      top:-20px;
      display: inline-block;
      font-family: 'Glyphicons Halflings';
      font-style: normal;
      font-weight: 400;
      line-height: 1;
      -webkit-font-smoothing: antialiased; color:black;"&gt;&lt;/span&gt;&lt;/a&gt;
     
     
     &lt;a href="add_desc.php?bills=&lt;?php echo $row[0];?&gt;"&gt;&lt;span class="glyphicon glyphicon-pencil" style="position: relative;
      top: 30px;
   right:15px;
      display: inline-block;
      font-family: 'Glyphicons Halflings';
      font-style: normal;
      font-weight: 400;
      line-height: 1;
      -webkit-font-smoothing: antialiased; color:black;" data-toggle="modal" data-target="#myModal"&gt;&lt;/span&gt;&lt;/a&gt;
    &lt;?php
    $Query=mysql_query("Select * From product where product_id='$product_id'");
    while($row1 = mysql_fetch_array($Query)){ 
    $product_name=$row1[2];
    }
    ?&gt;
    
  &lt;p style="text-align:center;"&gt;&lt;?php echo $product_name;?&gt;&amp;nbsp;Model no&amp;nbsp;&lt;?php echo $row[6];?&gt;&lt;/p&gt;
  &lt;!--------------======================== Close Description popup box==========================----------&gt; 
     &lt;/td&gt;&lt;tr&gt;&lt;br&gt;
    &lt;?php } ?&gt;
    
    
  
    &lt;/table&gt;&lt;/center&gt;&lt;!-------=================== Table Close==========================----------&gt;
    
   
   &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; 
        &lt;div class="w-tab-content tabs-content"&gt;
              &lt;div class="w-tab-pane w--tab-active w-clearfix tab-pane" data-w-tab="Tab 1"&gt;
       &lt;center&gt; &lt;div class="group-block last" style="margin-top:20px; margin-left:60px"&gt;
                  &lt;a class="w-inline-block" href="product.php" data-load="1" style="text-decoration:none;"&gt;
                   
             
                      &lt;div class="title-text" style="padding:-25px -25px; color:#FFF; background:#4fd2c2; text-align:center;width:200px;height:50px"&gt;Add Product&lt;/div&gt;
                   
                  &lt;/a&gt;
                &lt;/div&gt;&lt;/center&gt;
                
              &lt;/div&gt;
              
            &lt;/div&gt;
        &lt;/div&gt;
         &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
   
      &lt;div class="page-content loading-mask" id="new-stack"&gt;
        &lt;div class="loading-icon"&gt;
          &lt;div class="navbar-button-icon icon ion-load-d"&gt;&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="shadow-layer"&gt;&lt;/div&gt;
    &lt;/section&gt;
    &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/framework.js"&gt;&lt;/script&gt;
     &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
      &lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;!--[if lte IE 9]&gt;&lt;script src="js/placeholders.min.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My every page show this type error whene i am login in my account of this website and click any page link whene this type error show me. I am using same session code every page after login and after signup </p>
  
  <blockquote>
    <p>Here is my Sign in codes</p>
  </blockquote>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  session_start();
  ?&gt;
  &lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Login&lt;/title&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"&gt;
    
    &lt;link rel="stylesheet" type="text/css" href="css/normalize.css"&gt;
    &lt;link rel="stylesheet" type="text/css" href="css/framework.css"&gt;
    &lt;link rel="stylesheet" type="text/css" href="css/washington.css"&gt;
    &lt;script src="js/webfont.js"&gt;&lt;/script&gt;
    &lt;script&gt;
      WebFont.load({
        google: {
          families: ["Montserrat:400,700"]
        }
      });
    &lt;/script&gt;
    &lt;script type="text/javascript" src="js/modernizr.js"&gt;&lt;/script&gt;
    &lt;link rel="shortcut icon" type="image/x-icon" href="images/logoStandford32.ico"&gt;
    &lt;link rel="apple-touch-icon" href="images/logoStandford32.ico"&gt;
   &lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
    &lt;link href="css/ionicons.min.css" rel="stylesheet" type="text/css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;section class="w-section mobile-wrapper"&gt;
  
      &lt;div class="page-content" id="main-stack" data-scroll="0"&gt;
        &lt;div class="w-nav navbar"&gt;&lt;/div&gt;
        &lt;div class="body padding"&gt;
          &lt;div class="logo-login"&gt;&lt;/div&gt;
          &lt;div class="bottom-section padding"&gt;
            &lt;div class="w-form"&gt;
      
  &lt;?php
  
  include('dbConfig.php');
   
  
  if(isset($_POST['login']))
  { 
      
      $user=$_POST['email'];
      $pass=$_POST['password']; 
    
    $fetch=mysql_query("SELECT * FROM `user` WHERE user_email='$user' and user_pass='$pass'   ");
       $count=mysql_num_rows($fetch);
    $fetch1 = mysql_fetch_array($fetch);
      if($count!="")
      {  
  
       $_SESSION['userEmailid']=$fetch1['user_email'];             
         //header("Location:admin/index.php"); 
      echo '&lt;meta http-equiv="refresh" content="0;URL=dashbord.php"&gt;';
      }
  else
  {
   
     echo "&lt;div class='alert alert-danger'&gt;Email and Password is Wrong&lt;/div&gt;";
   
  } 
    
    
  } 
    
    
   
   ?&gt;
   
              &lt;form  method="post"  enctype="multipart/form-data" action="#"&gt;
                &lt;div&gt;
                  &lt;label class="label-form" for="email-field"&gt;USERNAME&lt;/label&gt;
                  &lt;input class="w-input input-form" id="email-field" type="email" name="email" data-name="email" required="required"&gt;
                  &lt;div class="separator-fields"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div&gt;
                  &lt;label class="label-form" for="email"&gt;PASSWORD&lt;/label&gt;
                  &lt;div class="w-clearfix block-input-combined"&gt;
                    &lt;input class="w-input input-form left" id="password-field" type="password" name="password" data-name="password" required="required"&gt;&lt;a class="right-input-link" href="forgetPassword.php" data-load="1"&gt;Forgot Password&lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="separator-button-input"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;input class="w-button action-button" type="submit" name="login" value="Sign In" data-wait="Please wait..."&gt;
                &lt;div class="separator-button"&gt;&lt;/div&gt;&lt;a class="link-upper" href="signup.php" data-load="1"&gt;YOU DON’T HAVE AN ACCOUNT? &lt;strong class="b-link"&gt;SIGN UP&lt;/strong&gt;&lt;/a&gt;
              &lt;/form&gt;
              &lt;div class="w-form-done"&gt;
                &lt;p&gt;Thank you! Your submission has been received!&lt;/p&gt;
              &lt;/div&gt;
              &lt;div class="w-form-fail"&gt;
                &lt;p&gt;Oops! Something went wrong while submitting the form&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="page-content loading-mask" id="new-stack"&gt;
        &lt;div class="loading-icon"&gt;
          &lt;div class="navbar-button-icon icon ion-load-d"&gt;&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="shadow-layer"&gt;&lt;/div&gt;
    &lt;/section&gt;
    &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/framework.js"&gt;&lt;/script&gt;
    &lt;!--[if lte IE 9]&gt;&lt;script src="js/placeholders.min.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <blockquote>
    <p>And here is my Sign Up codes</p>
  </blockquote>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Sign Up&lt;/title&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"&gt;
    
    &lt;link rel="stylesheet" type="text/css" href="css/normalize.css"&gt;
    &lt;link rel="stylesheet" type="text/css" href="css/framework.css"&gt;
    &lt;link rel="stylesheet" type="text/css" href="css/washington.css"&gt;
  
    &lt;script src="js/webfont.js"&gt;&lt;/script&gt;
    &lt;script&gt;
      WebFont.load({
        google: {
          families: ["Montserrat:400,700"]
        }
      });
    &lt;/script&gt;
    &lt;script type="text/javascript" src="js/modernizr.js"&gt;&lt;/script&gt;
    &lt;link rel="shortcut icon" type="image/x-icon" href="images/logoStandford32.ico"&gt;
    &lt;link rel="apple-touch-icon" href="images/logoStandford32.ico"&gt;
  
    &lt;link href="css/ionicons.min.css" rel="stylesheet" type="text/css" /&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;section class="w-section mobile-wrapper"&gt;
  
      &lt;div class="page-content" id="main-stack" data-scroll="0"&gt;
        &lt;div class="w-nav navbar" data-collapse="all" data-animation="over-left" data-duration="400" data-contain="1" data-easing="ease-out-quint" data-no-scroll="1"&gt;
          &lt;div class="w-container"&gt;
            &lt;div class="wrapper-mask" data-ix="menu-mask"&gt;&lt;/div&gt;
            &lt;div class="navbar-title"&gt;Sign Up&lt;/div&gt;
            &lt;a class="w-inline-block navbar-button" href="main_login.php" data-load="1"&gt;
              &lt;div class="navbar-button-icon icon ion-ios-close-empty"&gt;&lt;/div&gt;
            &lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="body padding"&gt;
          &lt;div class="logo-login smaller"&gt;&lt;/div&gt;
          &lt;div class="bottom-section padding"&gt;
            &lt;div class="w-form"&gt;
  
      &lt;?php
  include('dbConfig.php');
   
  
  ?&gt;
  &lt;?php
   if(isset($_POST['submit']))
  { 
  $user_name = $_POST['userName'];
  $user_mobile = $_POST['userMobile'];
  $user_email = $_POST['emailid'];
  $user_pass = $_POST['pass'];
  
  
  if($user_email !="")
  {
   
  $rs=mysql_query("select * from user where user_email='$user_email'");
  if (mysql_num_rows($rs)&gt;0)
  {
   echo "&lt;div class='alert alert-danger'&gt;User is Already Exists&lt;/div&gt;";
   exit;
  } 
  else
  {
  $sql=mysql_query("insert into user(user_name,user_mobile,user_email,user_pass) values ('$user_name','$user_mobile','$user_email','$user_pass')") or die(mysql_error());
  
  session_start();
     $_SESSION['userEmailid']=$user_email;
     
  
  if($sql){
   $msg="Name: ".$_POST['userName']."&lt;br/&gt; Email: ".$_POST['emailid']."&lt;br/&gt; Mobile No: ".$_POST['userMobile']."&lt;br/&gt; Password: ".$_POST['pass'];
   $headers  = 'MIME-Version: 1.0' . "\r\n";
  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  
   $mailresult=mail($user_email,'MeraApp Registration form',$msg,$headers);
   
   
  echo"&lt;script type='text/javascript'&gt;
    window.location.href='language.php';
  &lt;/script&gt;";
  }
  }
  
  }
   
  
  
  }
  
  ?&gt;
              &lt;form method="post"  enctype="multipart/form-data" action="#"&gt;
                &lt;div&gt;
                  &lt;label class="label-form" for="full-name-field"&gt;FULL NAME&lt;/label&gt;
                  &lt;input class="w-input input-form" id="full-name-field" type="text" name="userName" data-name="full-name" required="required"&gt;
                  &lt;div class="separator-fields"&gt;&lt;/div&gt;
                &lt;/div&gt;
         &lt;div&gt;
                  &lt;label class="label-form" for="full-name-field"&gt;MOBILE NO.&lt;/label&gt;
                  &lt;input class="w-input input-form" id="full-name-field" type="number" name="userMobile" data-name="full-name" required="required"&gt;
                  &lt;div class="separator-fields"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div&gt;
                  &lt;label class="label-form" for="email-field"&gt;EMAIL&lt;/label&gt;
                  &lt;input class="w-input input-form" id="email-field" type="email" name="emailid" data-name="email" required="required"&gt;
                  &lt;div class="separator-fields"&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div&gt;
                  &lt;label class="label-form" for="password-ield"&gt;PASSWORD&lt;/label&gt;
                  &lt;input class="w-input input-form" id="password-ield" type="password" name="pass" data-name="password" required="required"&gt;
                  &lt;div class="separator-fields"&gt;&lt;/div&gt;
                &lt;/div&gt;
               
    
                &lt;div class="separator-button-input"&gt;&lt;/div&gt;
                &lt;input class="w-button action-button" type="submit" name="submit" value="Sign Up"  class="fa fa-paper-plane" aria-hidden="true"data-wait="Please wait..."&gt;
                &lt;div class="separator-button"&gt;&lt;/div&gt;&lt;a class="link-upper" href="main_login.php" data-load="1"&gt;ALREADY HAVE AN ACCOUNT? &lt;strong class="b-link"&gt;SIGN IN&lt;/strong&gt;&lt;/a&gt;
              &lt;/form&gt;
              &lt;div class="w-form-done"&gt;
                &lt;p&gt;Thank you! Your submission has been received!&lt;/p&gt;
              &lt;/div&gt;
              &lt;div class="w-form-fail"&gt;
                &lt;p&gt;Oops! Something went wrong while submitting the form&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="page-content loading-mask" id="new-stack"&gt;
        &lt;div class="loading-icon"&gt;
          &lt;div class="navbar-button-icon icon ion-load-d"&gt;&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="shadow-layer"&gt;&lt;/div&gt;
    &lt;/section&gt;
    &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/framework.js"&gt;&lt;/script&gt;
    &lt;!--[if lte IE 9]&gt;&lt;script src="js/placeholders.min.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>same error is my every page but same codes are work on localhost properly.
  Please help me and solve this problem.</p>