Questions tagged as 'codeigniter'

1
answer

Problems in a Join CodeIgniter

I have the following select: $this->db->select('*'); $this->db->from('tbl_produto_marca'); $this->db->join('tbl_produto', 'tbl_produto_marca.cd_codigo = tbl_produto.cd_marca'); $this->db->where('tbl_produto.cd_codigo',...
asked by 23.03.2017 / 00:32
1
answer

Problem trying to connect to SOAP Web Service

I'm trying to connect to a web service by PHP that the documentation provided uses the SOAP protocol, but I can not even connect through the provided URL. URL: link My code: ini_set('soap.wsdl_cache_enabled',0); ini_se...
asked by 14.03.2017 / 00:39
0
answers

Sequences of actions in ajax

Good afternoon! I do not know if the title of my question is correct anymore if someone has a better one please change. I have the following problem, I have an ERP issue and NFE and NFCe is working correctly, but I wanted to improve a bit....
asked by 09.03.2017 / 20:43
1
answer

Save Images from CodeIgniter

Hello, I'm looking to save an image to the database. I'm using the following: $config['upload_path'] = './assets/fotos/'; $config['allowed_types'] = '*'; $config['max_size'] = '512000'; $config['max_width'] = '2440'; $config['ma...
asked by 26.03.2017 / 18:41
0
answers

I can not recover the $ _SESSION with ajax and codeigniter

I'm having difficulty retrieving a $ _SESSION using native php session with ajax in codeigniter, since when I try to check the data it reports undefined. follow the code, already thanks to all. controller login if($user->cod_user == 1)...
asked by 10.03.2017 / 03:41
1
answer

Get page information without being logged in to facebook, only by the token

I'm creating a posting system for facebook and it's all right, except for one thing. When I uncheck facebook for the system I'm doing, some functions do not work, however much I pass the user or page access token. I am using a Facebook SDK...
asked by 18.03.2017 / 19:23
0
answers

Redeem controller data in multiple views

I'm developing a CodeIgniter site in which all pages must have a dynamic footer with data coming from the database. I loaded the view footer (I created a controller footer ) in the initial controller that loads a default which goes...
asked by 24.02.2017 / 18:45
1
answer

How to make a change print in the view without refresh? [duplicate]

<script type="text/javascript"> function atualizarTarefas() { var url = "institucional"; jQuery("institucional#entregas").load(url); } setInterval("atualizarTarefas()", 1000); </script>     
asked by 16.02.2017 / 15:42
0
answers

Rename XML nodes and subnodes from an array

I have an array, which I want to transform into an xml document, I already have it created but I can not change the names of some nodes and sub-nodes, here's an example of an array to be transformed, the code that does the transformation and an...
asked by 16.02.2017 / 15:08
0
answers

Use a form with select to control views

Good afternoon guys, I could not find a practical solution to what I'm trying to develop: By using the above select I want to display data below such as graphs, ie if the user chooses the item generates chart 1, item 2 generates chart 2...
asked by 08.02.2017 / 17:59