I am…

Your Five Factor Personality Profile Extroversion: You have medium extroversion. You’re not the life of the party, but you do show up for the party. Sometimes you are full of energy and open to new social experiences. But you also need to hibernate and enjoy your “down time.” Conscientiousness: You have high conscientiousness. Intelligent and … Continue reading I am…

Igniting Code with Code Igniter

Day by day I am loving codeigniter more and more. Its so awesome, rick ellis, you are da man. But unfortunately codeigniter was not properly tested with PostgreSQL. Yesterday I fixed active records insert_id() function to work properly with PostgreSQL. I am running it’s version 8.1 Here comes my modified system/database/driver/postgre/postgre_driver.php function insert_id() { $v … Continue reading Igniting Code with Code Igniter

Fixing ActiveRecord Class for CodeIgniter to use with PostgreSQL

Hi, If you are using PostgreSQL and execute the following statement, it will defnitely generate error because of some internal properties in the model. Controller Code <?$model = $this->load->model(“MyModel”);$this->mymodel->insert();?> where the model code is <?Class MyModel extends Model{  public $username;  public $password;   public function insert()  {    $this->db->insert(“table”,$this);  }}?> So guys – Here I fix the Active Record class in CodeIGniter. … Continue reading Fixing ActiveRecord Class for CodeIgniter to use with PostgreSQL