0
Hello, currently I am beginner in codeiginiter and need to deliver a project CRUD in college, so far I made connection with the bank, listed everything. But when I click on add new error occurs, I believe it is configuration error.. So when I click on New Registration, which is in add.php, the error occurs, I don’t even know what else to do... Follows:
ERROR THIS ONE: http://prntscr.com/kz21eg
config.php http://prntscr.com/kys0jm
controllers/State.php
db->get('estado');
if($query->num_rows() > 0){
return $query->result();
}else{
return false;
}
}
}
views/status/add.php
Adicionar Estado
" class="btn btn-success">Página Principal
views/status/index.php
" class="btn btn-Success">Register New
Code
Name
Acronym
Servant
Options
<tr>
<td><?php echo $estado->idestado; ?></td>
<td><?php echo $estado->nome; ?></td>
<td><?php echo $estado->sigla; ?></td>
<td><?php echo $estado->criado; ?></td>
<td>
<a href="" class="btn btn-primary">Alterar</a>
<a href="" class="btn btn-danger">Excluir</a>
</td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</code>
What error you are presenting?
– Pedro Augusto
Our guy, I forgot the main... Error is here: http://prntscr.com/kz21eg. (whenever I click add new)
– Demetrius Reis