Blog > CodeIgniter >
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 ‘email@example.com‘ it would bring back the CodeIgniter error.
An Error Was Encountered
The URI you submitted has disallowed characters.
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/‘.
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.