Posts by Jandelson Oliveira • 114 points
13 posts
-
0
votes1
answer100
viewsA: Disable links in an iframe
Fernando, I don’t know if this is what you need, but if you have access to the external url you are using you can manipulate the contents of the frame. Example: var frame =…
-
-2
votes2
answers847
viewsA: How to "bypass" the Maximum Execution time of 30 Seconds exceeded in php?
Good morning! Don’t like working with arrays I particularly like it and believe it would be an option $xml = simplexml_load_file('integracao.xml'); $xmlArray = json_encode($xml, true); $xmlArray =…
-
0
votes2
answers322
viewsA: Sort files from a directory with PHP
You could do a method or function to read the directory and return the already sorted files, and then call the function or method to include passing the array with a list of already sorted…
phpanswered Jandelson Oliveira 114 -
0
votes1
answer81
viewsA: How to Put Two Like in the same condition Mysql and PHP
You must be using some framework as seen in your code. more independent of how you will implement can do some analysis before applying the query to not impact on your system. Example if your code is…
-
0
votes2
answers804
viewsA: Upload PDF by ajax
Then to perform the upload you need to perform the ajax call as follows Get the form file var file_data = $('#take-picture').prop('files')[0]; var form_data = new FormData(); jqxhr = $.ajax( { type:…
-
1
votes5
answers1745
viewsA: Console utilities.log()
Hello Expensive use enough Javascript, today the console.log for me has the function to validate if some routines are working as they should. Example have an application does various calculations to…
javascriptanswered Jandelson Oliveira 114 -
0
votes1
answer26
viewsA: Send selected value to an Insert.php file
Hello You need the file containing the form make a call to a js that can create to receive the form data and to run. <src="script.js"></script> <form id="Form" action="" method="GET"…
-
0
votes3
answers4049
viewsA: Pass variable to another php file
Toniotti After uploading, what do you call the page creation file? You can pass the variable to the creation file by post or get depending on how you are calling the creation page. Another solution…
-
0
votes1
answer107
viewsA: Consult in two tables simultaneously with two different parameters
Hello let me get this straight, you need to filter the 5 rooms to have the same information with different parameters in the room search ? Well if that’s what I believe a Union all of the rooms…
-
1
votes4
answers10528
viewsA: Contact form with AJAX without refresh
In php // no head JS with Jquery script js. jQuery(Document). ready(Function(){ jQuery('#Form_ws'). Submit(Function(){ by pressing(1); var data = jQuery( this ).serialize(); jQuery.ajax({ type:…
-
0
votes4
answers19788
viewsA: How do I update with a Join?
Hello I always do it this way, ride the sql for instruction select Example: SELECT c.nome, tc.descricao from cliente c left join tipo_cliente tc on tc.id_tipo_cliente = c.id_tipo_cliente where…
-
5
votes2
answers1524
viewsQ: Condition on Join or Where?
Is there any difference if I use: select * from a left join b on a.id = b.id and b.id2=1 where ... or select * from a left join b on a.id = b.id where b.id2=1 Sent on: Fri ? The first SQL returned…
-
3
votes1
answer4036
viewsQ: How to use Elasticsearch next to Mysql?
I’m looking to use Elasticsearch to see if I can get agility and speed in my Mysql queries. I started to see some things, but I found a little confusing the issue of integration with Mysql, someone…