Blog > CodeIgniter >

27 Jul
2013

codeigniter icon grafxflow

Pass email in CodeIgniter url with jQuery and php

Here is the problem:

I was working with CodeIgniter and created a search form which passed its search terms via jQuery to the url like http://www.url.com/search/search_terms/, then the php would search the database and bring back the results. So what was the big issue you may think? Well if somebody tried to search for an email ‘anybody@email.com‘ it would bring back the CodeIgniter error.

An Error Was Encountered
The URI you submitted has disallowed characters.

CodeIgniter An Error Was Encountered

Continue reading…

Posted in: <CodeIgniter>

28 Nov
2012

codeigniter icon grafxflow

Call CodeIgniter MySQL query inside a helper file

This is a short snippet of php code if you want to use a CodeIgniter database query inside a helper file/function which is based in the following folder ‘application/helpers/‘.

Continue reading…

Posted in: <CodeIgniter>

21 Nov
2012

codeigniter icon grafxflow

Should we be using CodeIgniter?

For me as a freelancer I would answer the question ‘Should we be using CodeIgniter?‘ and say ‘its dependent on the individual project at hand‘ or when I walk into a studio ‘it depends on whats already been done!‘. But either way, no php developer can deny the demand for MVC (Model View Controller) frameworks has gone up considerably, especially in the freelance world.

Continue reading…

Tagged: < | | | | >
Posted in: <CodeIgniter>

smart search