title: Same id for Single CSV in cakephp 3.0
body: <p>I want to generate same id for Single CSV entries in cakephp 3.0 </p>
  
  <p>Means
  If first CSV has 3 entries, it should be like this</p>
  
  <p>Q1-1, Q1-2, Q1-3.</p>
  
  <p>If second CSV has 4 entries, It should be like this,</p>
  
  <p>Q2-1,Q2-2,Q2-3,Q2-4.</p>
  
  <pre><code>if(isset($_POST["Import"]))
  {
  $host="localhost";
  $db_user="root";
  $db_password="";
  $db="fmpstockcheck";
  $conn=mysql_connect($host,$db_user,$db_password) or die (mysql_error());
  mysql_select_db($db) or die (mysql_error());
  $x=0;
  $filename=$_FILES["file"]["tmp_name"];
      if($_FILES["file"]["size"] &gt; 0)
      {   
        $file=fopen($filename,"r");
        while(($emapData=fgetcsv($file,10000,",")) !== FALSE)
        {
        $qno = $x + 1;
        $nqno = 'Q'.$qno'-'.$qno;
         $sql="INSERT INTO quotationmaster(QuoteNo,CustomerNo, QuoteValue,ExpiresOn, LocationID, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn, Status, Timestamp) VALUES(
          '$nqno','$emapData[0]','$emapData[1]','$emapData[2]','$emapData[3]','$emapData[4]','$emapData[5]','$emapData[6]','$emapData[7]','$emapData[8]',
            '$emapData[9]')";
           //echo $sql;
            mysql_query($sql);
            $sqlqry="INSERT INTO `quotedetails`(
            QuoteNo, LineCode, Category, PartNumber, LocationID, AvailableQty, OrderQty, OurDescription, ProfilePrice, CorePrice, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn, IsDeleted, Timestamp) VALUES(
            '$nqno','$emapData[10]','$emapData[11]','$emapData[12]','$emapData[3]','$emapData[13]','$emapData[14]','$emapData[15]','$emapData[16]',
            '$emapData[17]','$emapData[4]','$emapData[5]','$emapData[6]','$emapData[7]','$emapData[18]','$emapData[9]')";
  
  
  
            mysql_query($sqlqry); 
           $x++;  
        }
  
        echo "&lt;div class='success'&gt;Import successfull&lt;/div&gt;";
      }
                fclose($file);
  
  
  }
  </code></pre>
  
  <p>Now i am getting Q1-1,Q1-2, Q1-3,Q1-4.......continously. Any helps are appreciable</p>