⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Besoin d'aide en français SELECT



yurispy
  • profile picture
  • Member

Posted 24 August 2013 - 14:44 PM

Voila je souhaite afficher ma table complète en y rajoutant plusieurs colonne ou les donnés seront des calculs lié au donné de la dite table
 
Voici mon SELECT que je voudrais utiliser
public function pivot()
{

$crud = new grocery_CRUD();
    $crud->set_table('pivot');
$this->db->select('*,
`LONG_DT`*2*PI()*ANGLE/360 as TRAJET_DT,
`LONG_DT` + `jet_m` + `Paf_m` as LONG_ARR,
((`LONG_DT` + `jet_m` + `Paf_m`)*(`LONG_DT` + `jet_m` + `Paf_m`)*PI()*ANGLE/360)/10000 as SURF_HA,
`LONG_DT`*2*PI()*ANGLE/360/`VIT_DT`/24 as temps_100,
`DEBIT`*24*(`LONG_DT`*2*PI()*ANGLE/360/`VIT_DT`/24)/
(
(((`LONG_DT` + `jet_m` + `Paf_m`)*(`LONG_DT` + `jet_m` + `Paf_m`)*PI()*ANGLE/360)/10000)
*10000)*1000
as mm_100,
`DEBIT`*24/(((`LONG_DT` + `jet_m` + `Paf_m`)*(`LONG_DT` + `jet_m` + `Paf_m`)*PI()*ANGLE/360)/1000)
as pluv_calculee_mm
FROM `pivot`');
$output = $this->grocery_crud->render();

$this->_example_output($output); 
}

Cela ne marche pas hélas et me retourne ceci

An Error Was Encountered

Unable to load the requested language file: language/french/db_lang.php

Voila j'espère qu'une personne pourra m'aider^^

 


davidoster
  • profile picture
  • Member

Posted 25 August 2013 - 01:14 AM

Hello and welcome to the forums [member=yurispy].

Well my french is really not that good but what posted here as an error has nothing to do with Grocery CRUD library actually.

It has to do with the no existence of the french language under system/language/french/...

You need to check here and here.


yurispy
  • profile picture
  • Member

Posted 25 August 2013 - 09:16 AM

Thank you for the information, I put the French language.