Posts by crishenrique1986 • 111 points
10 posts
-
1
votes2
answers757
viewsQ: Create report displaying total and subtotal
I need to create a PHP report in which information will be searched in Mysql. In Mysql I have a list of billets issued, in which most were paid. In this table(Historico) has the following fields:…
-
-1
votes1
answer3783
viewsQ: GENERATE PHP REPORT
I have a database in which there are two tables: CUSTOMERS BILLETS In my VIEW (Codeigniter), the user will select a period (Ex. 01/03/2018 to 31/03/2018) to generate a report of all billets that…
-
0
votes2
answers181
viewsA: Generate multiple records in Mysql
Follows the code used: VIEW Has the form and ajax code: <script> $("#frmCobrancas").submit(function(e){ e.preventDefault(); var base_url = "<?php echo base_url() ?>"; $.ajax({ url :…
-
0
votes2
answers181
viewsQ: Generate multiple records in Mysql
In the Mysql have two tables: CUSTOMERS | codigo-cliente | nome | grupo | valor | |----------------|------|-------|-------| FINANCIAL | codigo-cliente | codigo-boleto | grupo | valor |…
-
1
votes0
answers280
viewsQ: Codeigniter3 / Mysql - Select List
Good morning Personal. I’m working on a code using Codeigniter, which has a registration form. This form has three Dropdown (State, City and Neighborhood), and the data are returned from the…
-
0
votes0
answers103
viewsQ: Javascript / PHP - Popular Select
I’m using the code below to create options on SELECT LIST according to the choices made in the previous. <script type="text/javascript"> //Dados passados pelo controller $ufs =…
-
2
votes1
answer593
viewsQ: Insert data from an array into the database by Codeigniter
I’m trying to make a INSERT using Codeigniter and would like to know if there is a more practical form than the one used below: MODEL public function set_cliente() { $dados = array( 'codigo_cliente'…
-
4
votes1
answer2162
viewsQ: Select(combobox) Dynamic
I need to use one select dynamic on my page, in which when selecting the state(UF), it shows me in the next select only the cities of this UF. Likewise the neighborhoods. All this information is…
-
2
votes1
answer192
viewsQ: MYSQL - Select 2 tables
Good morning Personal! I have a problem when performing a query in MYSQL, and the query I am using is not displaying the desired results. Follow the example: TABLE: CLIENTES (codigo_cliente, nome,…
-
1
votes1
answer3970
viewsQ: Popular table with PHP and JSON
I am developing a system that has a client table, this table was not developed by me, so I am having some problems to popular. Visually the table works perfectly, but when I try to popular with…