CodeIgniter notes #3

I often scribble down important notes and stuff I learn in a notebook, I prefer to use a traditional way of learning, using pen and paper. Here are some notes I jotted down. Use var_dump($variable), this will outputs the variable to your screen. This is similar function to JavaScript’s console.log(variable). This is a html file, … Continue reading CodeIgniter notes #3

CodeIgniter notes #2

A controller page may looks like this

This is a controller named home, the home must be spelled in capital letter. When a person views your website at index.php/home, it will lead to this controller. At the index function, we may include

This will loads the view called home_view and passed in the … Continue reading CodeIgniter notes #2