title: php project deployment new problem
body: <p>i have done one php project and i have uploaded it on server.I had devlopveped it on windowas and now i am trying to deploy it on remote linux server. But i am geting error.
  Some parts of page are not shown  i donr know why?
  For example i have one page appply as follows . i can see only top part other parts i cant see.</p>
  
  <pre><code>&lt;?php 
  require 'inc/header.php';
  require 'inc/config.php';
  require 'inc/functions.php';
  
  
  
  $QUERY0 = "
              SELECT *
              FROM states
            ";
  
         $result0 = send_query($QUERY0);
         $i=0;
         while($row = mysql_fetch_array($result0))
              {
                  $states_names[$i]=$row['sname'];
                  $states_val[$i] =$row['id'];
                  $i++;
  
              }
  
  $QUERY1 = "
              SELECT *
              FROM courses
            ";
  
         $result1 = send_query($QUERY1);
         $i=0;
         while($row = mysql_fetch_array($result1))
              {
                  $courses_names[$i]=$row['cname'];
                  $courses_val[$i]=$row['id'];
                  $i++;
  
              }
  
  
  $QUERY2 = "
              SELECT *
              FROM jobprofile
            ";
  
         $result2 = send_query($QUERY2);
         $i=0;
         while($row = mysql_fetch_array($result2))
              {
                  $jobprofiles_names[$i]=$row['jobname'];
                  $jobprofile_val[$i]=$row['jobid'];
                  $i++;
  
              }
  
  
  
  $QUERY3 = "
              SELECT *
              FROM edu
            ";
  
         $result3 = send_query($QUERY3);
         $i=0;
         while($row = mysql_fetch_array($result3))
              {
                  $edu_names[$i]=$row['eduq'];
                  $edu_val[$i]=$row['id'];
  
  
                //  echo "***********" .$edu_names[$i];
                  $i++;
  
              }
  
  
  
  
  
  
  ?&gt;
  
  &lt;div class="left"&gt;
      &lt;div class="left_articles"&gt;
  
          &lt;h2&gt;&lt;a href="#"&gt;Register&lt;/a&gt;&lt;/h2&gt;
          &lt;p class="description"&gt;Please submit the folloing form&lt;/p&gt;
          &lt;p&gt;
              &lt;form action="check.php" method="post"&gt;
  
              &lt;table border="0"&gt;
  
                  &lt;tbody&gt;
                      &lt;tr&gt;
                          &lt;td&gt;First name&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="fname" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Last name&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="lname" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Address&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="address" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;age&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="age" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;State of origin&lt;/td&gt;
                          &lt;td&gt;
                              &lt;select name="origin"&gt;
                                  &lt;?  $i=0;
                                      foreach( $states_names as $state )
                                      {
  
                                          $val=  $states_val[$i] ;
                                  ?&gt;
                                  &lt;option value="&lt;? echo $val; ?&gt;"&gt;&lt;? echo $state; ?&gt; &lt;/option&gt;
                                  &lt;?
                                          $i++;
                                      }
                                  ?&gt;
                              &lt;/select&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Mobile no&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="mobile" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Sex&lt;/td&gt;
                          &lt;td&gt;&lt;select name="sex"&gt;
                                  &lt;option value="1"&gt;Male&lt;/option&gt;
                                  &lt;option value="0"&gt;Female&lt;/option&gt;
                          &lt;/select&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Marrital Status&lt;/td&gt;
                          &lt;td&gt;&lt;select name="ms"&gt;
                                  &lt;option value="0"&gt;Single&lt;/option&gt;
                                  &lt;option value="1"&gt;Married&lt;/option&gt;
                          &lt;/select&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Email&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="email" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Job Applying For&lt;/td&gt;
                          &lt;td&gt;&lt;select name="jobtype"&gt;
                                   &lt;?  $i=0;
                                      foreach( $jobprofiles_names as $job )
                                      {
  
                                          $val=  $jobprofile_val[$i] ;
                                  ?&gt;
                                  &lt;option value="&lt;? echo $val; ?&gt;"&gt;&lt;? echo $job; ?&gt; &lt;/option&gt;
                                  &lt;?
                                          $i++;
                                      }
                                  ?&gt;
                          &lt;/select&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;Have u worked in this sector before&lt;/td&gt;
                          &lt;td&gt;&lt;select name="exp"&gt;
                                  &lt;option value="0"&gt;no&lt;/option&gt;
                                  &lt;option value="1"&gt;yes&lt;/option&gt;
  
                          &lt;/select&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Which department of this sector u have worked?&lt;/td&gt;
                          &lt;td&gt;    &lt;input type="text" name="exptype" value="" /&gt;
  
                         &lt;/td&gt;
  
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Years of experinece in this sector&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="yrsexp" value="" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;Higest Educational qualification&lt;/td&gt;
                          &lt;td&gt;&lt;select name="eduq"&gt;
                                  &lt;?  $i=0;
                                      foreach( $edu_names as $ed)
                                      {
  
                                          $val=  $edu_val[$i];
                                ?&gt;
                                  &lt;option value="&lt;? echo $val; ?&gt;"&gt;&lt;? echo $ed; ?&gt; &lt;/option&gt;
                                 &lt;?
                                          $i++;
  
                                      }
                                 ?&gt;
                          &lt;/select&gt;
  
                          &lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;Course taken in above educational qualification&lt;/td&gt;
                          &lt;td&gt;&lt;select name="crc"&gt;
  
                                &lt;?  $i=0;
                                      foreach( $courses_names as $crc)
                                      {
  
                                          $val=  $courses_val[$i];
                                ?&gt;
                                  &lt;option value="&lt;? echo $val; ?&gt;"&gt;&lt;? echo $crc; ?&gt; &lt;/option&gt;
                                 &lt;?
                                          $i++;
  
                                      }
                                 ?&gt;
                          &lt;/select&gt;
  
                          &lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;Grade obtained in the above educational qualification&lt;/td&gt;
                          &lt;td&gt;&lt;select name="grade"&gt;
                                  &lt;option value="0"&gt;A&lt;/option&gt;
                                   &lt;option value="1"&gt;B&lt;/option&gt;
                                    &lt;option value="2"&gt;C&lt;/option&gt;
                                     &lt;option value="3"&gt;D&lt;/option&gt;
  
                          &lt;/select&gt;
  
                          &lt;/td&gt;
                      &lt;/tr&gt;
  
  
                      &lt;tr&gt;
                          &lt;td&gt;&lt;/td&gt;
                          &lt;td&gt;&lt;input type="submit" value="Apply now" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/tbody&gt;
              &lt;/table&gt;
              &lt;input type="hidden" name="action" value="check" /&gt;
               &lt;/form&gt;
  
          &lt;/p&gt;
      &lt;/div&gt;
  
  
  &lt;/div&gt;  
  
  
  
  &lt;?  require 'inc/right.php'  ?&gt;
  
  &lt;?  require 'inc/footer.php'  ?&gt;
  </code></pre>
  
  <p>my file description are as follows.
  header contains header
  righ.php contains right side of page</p>
  
  <p>why are my pages not shown fully? does there is a problem with slash / postion ??
  is it different on windows and linux?</p>