Posted in CMS/Framework, Code Labs on October 4th, 2009 by Jdam | No Comments |
Mostly new user to magento commerce encounter problem on migration or switching to new database.
Here is some tips how to avoid that:
1. Always backup your database.
2. Make sure you know what your doing. Consult to Magento forums if needed.
3. Go to app/etc/local.xml, look for this code
Read More »
Posted in CMS/Framework, Code Labs on September 18th, 2009 by center | No Comments |
// you can use the where clause
$this->db->where('field1', 'string');
$query = $this->db->get('tabledb');
// Returns the "last" row
$last = $query->last_row('array');
// retrieve last inserted id from table
$last_id = $last['id'];
Posted in CMS/Framework, Code Labs on September 4th, 2009 by center | No Comments |
Hello everyone!
CodeIgniter’s Pagination class is very easy to use. I set up following code.
Create this file Pagination.php in the system/libraries/Pagination.php folder
Read More »
Posted in CMS/Framework, Code Labs on July 28th, 2009 by center | No Comments |
Hi there everyone, this is my second tutorial on code igniter. Here, I will discuss about using multiple forms with validation.
Here is the procedure:
Read More »
Posted in CMS/Framework, Code Labs on May 26th, 2009 by center | No Comments |
Hello everyone, I would like to share with you on how to upload array of files with Thumbnail in Code Igniter.
Here’s the step by step guide for you to follow:
In views, you can create a form including input files in an array then submit to the controller to be saved in a folder or directory where the upload path is located.
Read More »