title: Warning : session_start()
body: <p>I have received a warning when using my login.php file. help me to remove this warning......----  </p>
  
  <blockquote>
    <p>Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/fundumob/public_html/app_create/index.php:35) in /home/fundumob/public_html/app_create/login.php on line 1</p>
  </blockquote>
  
  <pre><code> &lt;?php session_start();?&gt;
   &lt;?php 
   include("lib/config.php");
  
   if(isset($_POST["tb_login"]))
   {
   $myusername=$_POST['log_email'];
   $myuser_password=$_POST['log_password']; 
  
   if(!empty($myusername) &amp;&amp; !empty($myuser_password))  
    {
   $sql="SELECT * FROM act_member WHERE   password='$myuser_password' and               
    email='$myusername'";
  $result=mysql_query($sql);
   // Mysql_num_row is counting table row
   $count=mysql_num_rows($result);
   // If result matched $myusername and $mypassword, table row must be 1 row
   if($count==1){
   $rows=mysql_fetch_row($result);
   $_SESSION['user_id']= $rows[0];
   $_SESSION['mem_id']=$rows[1];
   $_SESSION['fname']=$rows[2];
   $_SESSION['lname']=$rows[3];
   header("location:profile.php");    }
   else { 
  
  echo "sorry you entered wrong password or email id";
  }
  
   }
   }
  
   ?&gt;
  </code></pre>