Hello!
I have the following controller function.
public function lancamento_listar()
{
$lista = $this->lancamento->obter_dados();
$data = array();
$no = $_POST['start'];
foreach ($lista as $lancamento) {
$no++;...
I have a problem at the time of hosting a college job, the problem is this one:
Onthelocalhostthiserrordoesnotappear. Theerrormentionedinline98ofthethemecode/topisthis<?phpif($this->session->flashdata('success')!=null){?><divclas...
I was seeing in CodeIgniter that there is a way to insert multiple 'where' into class DB :
Example:
$this->db->where('id', 1)
->where('name', 'Jão')
->where('lastname', 'Fulaninho')
->get('users')...
I want to restrict access to my login system, to only 1 for each login, I want my system to block access if the login is already being used on another device.
What would be the best practice to do this?
I am using Codeigniter 3, along with...
I have a SQL problem in my query, it follows:
$sql = "SELECT
cl.codigo,
pa.codigo AS codigo_participante,
pa.nome AS nome_participante,
cl.usuario,
cr.data AS data...
Good morning, I'm having a question, I'm using the following to generate success alerts or errors on my system.
if ($this->model->inserir($data)) {
$msg = "<div class='alert alert-success'> Cliente salvo com sucesso</div>...
Hello,
I'm developing a data search field.
And this one, is working very well until then; but I would like to add some query parameters to this field.
How are you today (search possibilities):
Data inicial
Data final
Nome.
How do...
I get the site contact form the data and ready them on a backend system.
Currently all of them are displayed online ( nome , assunto , e-mail , telefone , id , ação[excluir] ), I would like to see only the...
I have the following scenario, some models that will be accessed via administration (site) and via client (app), in administration it can read and write data and in the client only read data.
My question, what is the best way to follow the MVC...
I'm having a problem updating a bank record by codeigniter, I have two tables, one call:
Employee (where employees are stored in the company and in which sector that employee works, this table has the foreign key of the sector table (sector_...