Archive | Codeigniter RSS feed for this category

Posting form data using CodeIgniter and Ajax

23 March 2011

5 Comments

Using Ajax to post form data has been made really simple with jQuery’s Ajax methods. Here I’ll show you how to post data to a controller using the jQuery javascript library and the Codeigniter PHP framework In this example I am just going to show you how to post data to a controller. The data [...]

Continue reading...

Codeigniter – Sending Emails using Gmail’s SMTP Server

19 February 2011

0 Comments

Sending emails and attaching files along with them are super easy! Just create a file called email.php in the config folder of your application. This file will contain the details of your Gmail SMTP server. In your Email controller, create a function with the following code… The above example is very basic, but explains how [...]

Continue reading...