title: Import date from excel file to database using php
body: <p>Please there're an esay way to Import date from excel file to database using php ?</p>
  
  <p>I have made it by excel_reader2</p>
  
  <p>but the last char don't load and I get problem with arabic language</p>
  
  <p>This is my code </p>
  
  <pre><code>    &lt;?php
  require_once 'excel_reader2.php';
  $data = new Spreadsheet_Excel_Reader($url);
  $page_sheet = 1;
  if(count($data-&gt;sheets[$page_sheet][cells])&gt;0) // checking sheet not empty
  {
  
      $rows = count($data-&gt;sheets[$page_sheet][cells]);
  
      for($j=5;$j&lt;=count($data-&gt;sheets[$page_sheet][cells]);$j++) // loop used to get each row of the sheet
      {
          $data-&gt;sheets[$page_sheet][cells][$j][1];
          $rowid = $data-&gt;sheets[$page_sheet][cells][$j][1];
          $phone = $data-&gt;sheets[$page_sheet][cells][$j][2];
          $season = $data-&gt;sheets[$page_sheet][cells][$j][3];
          $row = $data-&gt;sheets[$page_sheet][cells][$j][4];
          $name = $data-&gt;sheets[$page_sheet][cells][$j][5];
  
         echo "$name&lt;br /&gt;";
      }
  }
  </code></pre>
  
  <p>Sorry for my bad english please</p>