Posts by Fabiano Cacin Pinel • 399 points
10 posts
-
4
votes1
answer60
viewsA: Values of $_REQUEST returning null
You should remove the quotes from the form fields' names and look like this: name="fixo[deseja_fixo]" and not like this name="fixo['deseja_fixo']"
-
1
votes1
answer310
viewsA: Dropdown button does not work
I noticed you’re using a menu from bootstrap and in that case it is necessary that the javascript that library is also inserted. Below the call of jquery call the bootstrap, Keep it up as it will…
-
-1
votes2
answers3539
viewsA: Listing folder files with PHP
About the select you can put it all in one array or fetch the values in the database if you have, I put an example with array: <?php $perspectiva = array(); $perspectiva[1] = "Financeiro";…
phpanswered Fabiano Cacin Pinel 399 -
3
votes2
answers246
viewsA: pause page and resume after user confirmation
You can do this right on the cancel link: <a title="Cancelar" onclick="return confirm('Você tem certeza?');" href="seuscript.php?ation=cancelar&id=XX">Cancelar</a> But if you really…
-
0
votes1
answer178
viewsA: Sending AJAX and PHP array
Try it instead of doing it like this: $("#save_reorder").click(function( e ) Do so: $(document).on( "click",'#save_reorder', function( event ) I saw that in . reorder_task you have done it in a…
-
3
votes2
answers2998
viewsA: Take id onclick and send values via Ajax
Example using the ajax: Cannot contain elements with repeated Ids within an html page so change of <a id="approved" class="flex-icon" data-toggle="tooltip" data-placement="top"…
-
1
votes1
answer105
viewsA: How can I build a loop with the bootstrap grid in several sizes?
I believe that’s the logic: <?php $count = 0; if ( have_posts() ) : while ( have_posts() ) : the_post(); $count++;?> <?php if( $count <= 2 ) { ?> <div class="col-xs-12 col-sm-12…
-
3
votes1
answer405
viewsA: Pass value parameter by clicking on radio input type, with php, jquery and mysql propagating
Cannot contain repeated Ids in html, so you can fix using classes as follows: Change $('#sbt_click1') for $('.sbt_click1') and change: id="sbt_click1" FOR class="sbt_click1" I believe that solves.…
-
1
votes1
answer554
viewsA: Error trying to register data in the database (mysql) via PHP
Change: $inserir_banco->execute($array_sql); For: $inserir_banco->execute($inserir_sql); I don’t know if you’ve noticed but $array_sql has not been assigned anywhere in your code snippet.…
-
2
votes1
answer258
viewsA: WHERE clause with PHP coming from Javascript
The way you put it you will not be able to make it work because Javascript runs on the client side and not on the server side. One way you solve this is you receive these values with $_GET as in the…