Posts by Gabriel Mourão • 77 points
15 posts
-
0
votes2
answers169
viewsA: Doubt with dynamic fields creation with jquery + php
You will only get user the event in something created after, if it starts like this: $(document).on('change','.elemento_da_interação', function(e) { Detail that ids do not duplicate, use classname.…
-
1
votes2
answers89
viewsA: How to rescue large amount of variables sent by POST and use them?
I needed a business like this yesterday: <form action='eumesmo.php' method='post'> <input type='text' name='a'> <input type='text' name='b'> <input type='SUBMIT'…
-
0
votes3
answers482
viewsA: Delete table>tr with Ajax and PHP
First put an id in your tr, and change the id delete to class, and put a date attribute with the id on the button <tr class="tr_<?= $client['id']; ?>"> <td><?= $client['name'];…
-
0
votes1
answer510
viewsQ: How to decrease the amount of if
The code below should do the following things: 1 - Search the companies in the database. 2 - Search the table in the month which companies will be worked. 3 - This table of the month is pulled that…
-
1
votes0
answers834
viewsQ: Login Webservice PHP + SOAP + CURL + XML + certificate
Good afternoon, I have the following code trying to access the ISS webservice of the city of Curitiba: <?php $xml_data = '<?xml version="1.0" encoding="utf-8"?> <soap:Envelope…
-
1
votes1
answer842
viewsQ: How to send this XML to webservice via PHP
Good morning, I have the following problem: I need to remove from the city website which companies issued note this month. I did the processes of installing the certificate of the city, and I need…
-
0
votes0
answers54
viewsQ: Login on external site (prefeitura Curitiba)
I need to pull from a city website if a particular company has issued tax notes. No problem if the user needs to enter the boxes manually. The link is this:…
-
0
votes2
answers802
viewsA: Duplicate multiple Table Records at once
Run the query within a loop for if the id is sequential, and is really all values. $qnt_reg = mysqli_num_rows($query_select); for ($i = 1; $i <= $qnt_reg; $i++) { //execute sua $query_insert aqui…
-
0
votes1
answer143
viewsQ: If inside if while inside while inside while (slow)
I’m having a question about loop while: I have the following query: $sql = "SELECT id,cod,nome,cnpj,insc_estadual,tributacao FROM empresas_base WHERE tributacao = '$filtro_regime_nome' AND…
-
1
votes3
answers535
viewsA: Take element data attr Datatables/jQuery
Opa, posted the question, and with the help of Mathias I was able to solve quickly, I will post as I did because it can be useful for other people: This is the script that is executed when the modal…
-
0
votes3
answers535
viewsQ: Take element data attr Datatables/jQuery
I am developing a project in PHP, Mysql, jQuery and CSS, and I came across the following 'bug' (in quotes because it is not a bug in fact) using the plugin dataTables+bootstrap+ajax: First a table…
-
0
votes1
answer68
viewsQ: Doubt - MVC system view
I am developing a system for accounting in PHP, Mysql, jQuery and css, the system is divided into sectors, and each sector has a graphics tab (plugin highcharts), which are generated dynamically…
-
1
votes1
answer563
viewsQ: Take value and date attr of related element jQuery
I’m having a little problem with jQuery, I have the following order of Divs: $(document).on('click', '.btn_salvar_obg_acess_prazo', function() { var data = $(this).prev('.acess_prazo_date').val();…
-
1
votes1
answer57
viewsA: Bootstrap style datetime does not work properly
I found the problem, I was using the 'bootflat' model to build the panel, and this model has some styles in css that modify certain plugins like jquery-ui and datepicker, I switched to Adminlte and…
-
0
votes1
answer57
viewsQ: Bootstrap style datetime does not work properly
Good morning, first I’ve seen researched several possible solutions to this problem here on the site, but the error it is giving me is different from the ones I found here, the file is pulling a…