Questions tagged as 'codeigniter'

1
answer

Error Trying to get property of non-object using codelgniter

I'm trying to access in the view the value of a variable called $ noticia that is in the controller, but the error Trying to get property of non-object appears. Controller File: public function excluir(){ //verifica se o usuario esta lo...
asked by 23.08.2018 / 03:46
2
answers

Separating clients in foreach with mpdf

My scenario is as follows, I generate a pdf file using the mpdf library and this pdf file is an interval query between client code and event date. Eg: code 0001 to 0004 and 0000-00-00 to 0000-00-00. It is generating the pdf with the result perfe...
asked by 15.08.2018 / 18:42
0
answers

Working with Object Array and inserting into the database - PHP codeigniter

Hello, I am studying some way to insert some information into the database and retrieve the ID so that this ID is inserted into another table. I need to know if this is possible, so as not to waste time on something if it was not possible to...
asked by 09.08.2018 / 19:20
1
answer

Store checkbox data from one modal window in another Codeigniter view

Someone who can help me?     
asked by 10.08.2018 / 22:26
0
answers

Encrypt parameter on link

I am trying to encrypt a past parameter but it is not working What I want to encrypt is $cc['CODIGO'] <?php echo anchor('financeiro/edicao/'.$cc['CODIGO'], '<span class="fa fa-pencil"></span>', array('class' =>...
asked by 03.08.2018 / 13:44
0
answers

How to create a route in CodeIgniter with the character #

I'm developing a project in CodeIgniter. And so far I'm out of the loop about creating a route using [ # ]. Example: www.site.com.br/#UserProfile. Here's an example of a route with a character [ + ] (in this case the character is the most) of...
asked by 02.08.2018 / 03:12
0
answers

require_once inside helper codeigniter

I installed the mpdf library via composer in codeigniter 2 and made a helper file where I call that library to generate the pdf. So inside that helper I call the autoload with require_once and it works perfectly locally. But when I went up in pr...
asked by 07.08.2018 / 22:11
0
answers

User Permissions with CodeIgniter

I'm redesigning a system in CodeIgniter, I'm new to it, and I'm trying to load a function from my Controller that will check whether or not the user has access to such a resource / screen / etc. I'm using a TEXT field in the database w...
asked by 02.08.2018 / 19:36
1
answer

Multiple applications with shared settings in Codeigniter

I have multiple applications in the codeigniter where I set up based on this tutorial . Now my applications folder looks like this: applications/gerencia/ applications/gerencia/config/ applications/gerencia/controllers/ applications/ge...
asked by 25.07.2018 / 22:14
0
answers

How to make two queries in the same column and table in mysql

I need a little help, I'm using the mvc standard with codeigniter and I need to echo the view, searching for values from the same column from the same table. So in my view I have two input text where I would call the users name by ID, the fact t...
asked by 24.07.2018 / 16:33