Posts by Rodolfo Oliveira • 917 points
48 posts
-
3
votes1
answer607
viewsQ: Pass parameters using the guzzle client
I need to consume an api, the passing of the parameters is done this way: https://api.typeform.com/v1/form/[typeform_UID]? key=[your_API_key] I’m using the guzzle to make the requisition. I am…
-
1
votes1
answer77
viewsQ: Escape from regex in php
local-config_form_settings-test To match the "test", I’m using this regex: (?<=config_form_settings-)([a-z0-9]+) I tested the regex here: https://regex101.com/ And it’s just the way I want it. In…
-
3
votes1
answer47
viewsQ: Discover Keys array of a vector
I have an array where the "parents" indexes are not indexed with underlines and the children are. Every time a parent receives a child, every other parent also receives a child. Example we have 2…
phpasked Rodolfo Oliveira 917 -
1
votes1
answer68
viewsQ: Allow another website in a hosting with wordpress
I have a hosting with a wordpress at the root. If I create a folder on ftp and uple another site(non wordpress) in that folder when I require: www.site.com.br/pasta_nova_created wordpress returns me…
wordpressasked Rodolfo Oliveira 917 -
0
votes1
answer495
viewsQ: Request on a page with Guzzle
I’m having trouble making a POST request on a website through the component Guzzle. The target site is :http://ciagri.iea.sp.gov.br/nia1/subjetiva.aspx?cod_sis=1&idioma=1 He even enters the site…
-
0
votes0
answers477
viewsQ: Trigger event by clicking on a "tab"
I have a series of "tab" that are generated according to the parameters code: if($i==0 || $i==2 || $i==16 || $i==26 ) { ?> <div class="panel with-nav-tabs panel-primary"> <div…
-
0
votes1
answer1340
viewsQ: Decrease height of "Row"
I have a panel and inside it a progress bar, where I created a line inside the panel and put my progress bar. HTML: div class="panel with-nav-tabs panel-success"> <div…
-
1
votes1
answer209
viewsQ: Insert square in caption googlemaps
I’m trying to add a caption to my googlemaps map. To assemble the legend I created a square with the color that represents a value. css: .square{ width: 48%; height: 0; /* Quadrado */…
-
0
votes1
answer128
viewsQ: Box when mouse over the municipality
I am using the Googlemaps3 api and after rendering the map I would like that when you hover over some area (which has already been programmed) the code of the area is shown. What I’ve done so far…
-
1
votes1
answer315
viewsQ: Close Activity after result
I’m trying to implement a tutorial using Zxing to read Qrcode. In the tutorial who was accompanying him uses the Eclipse and places the libs of Zxing all importing "by hand". I am using Android…
-
1
votes1
answer1258
viewsQ: Add Caption to a Map via googlemaps API
Is there any way to add captions directly through the googlemaps API or do you need to put the external caption to the map,in the documentation I found no example of how to do it if it exists?…
javascriptasked Rodolfo Oliveira 917 -
1
votes1
answer176
viewsQ: Transforming a Javascript function for PHP
I’m trying to pass a function written in javasript to php,but I think I was wrong in translating some command and I can’t find the error. Javascript function: <script> function dec(string) {//…
-
0
votes1
answer61
viewsQ: Problem using function with truncated file
On another topic I did a question and a friend of the site helped me. I tried to use the function with the truncated file, however the result was: Code that I used: <script> function…
-
-3
votes2
answers1547
viewsQ: Generate PDF report with PHP
I’m using the TCPDF stop generating a PDF report,: The page that generates the HTML that will be transformed into PDF receives as parameters some POSTS (which will be used to fill the report) TCPDF…
-
6
votes1
answer3336
viewsQ: Set county boundaries in Googlemaps
I’m trying to create thematic maps using the api google maps. Reading the documentation realized that for coloring regions I need set all Lat Long coordinates from the perimeter I want. Someone who…
-
3
votes1
answer98
viewsQ: Query problems on Xpath
HTML: <div align="center"><center> <table border="0" cellpadding="0"> <tr> <td bgcolor="#006090" valign="top" align="center"><p…
-
0
votes1
answer478
viewsQ: Parameters of the exec function
I was doing an exercise of a book and in it has the following order: Looking at the function parameters exec: Function exec It does not talk about any parameter that can be passed to inform how many…
casked Rodolfo Oliveira 917 -
6
votes1
answer1981
viewsQ: Problems configuring Composer with XAMPP in Windows environment
Installing Composer in windows has given me some work. I have some doubts: The Composer installer on Windows asks to inform the location of php.exe, and settle in there. After that I ran the…
-
3
votes1
answer254
viewsQ: See third party pages
Problem: Consult a page on another site, passing parameters via POST and getting the result in PHP. I have the following website:…
phpasked Rodolfo Oliveira 917 -
0
votes1
answer60
viewsQ: Add lines with the same year
Problem:-Add lines that have equal years via mysql command. Query I am using: SELECT produtividade, ano FROM area_e_producao_05_15 INNER JOIN dados_cidades ON edr_id={$edr['edr_id']} WHERE…
mysqlasked Rodolfo Oliveira 917 -
1
votes2
answers8312
viewsQ: Carousel image resolution
I’ve been looking for some option but could not find how to configure Carousel resolution. I’ll give you an example. Have this image: In the Carousel she looks like this: Is there any way to make it…
-
2
votes3
answers487
viewsQ: Problems between loop and ajax
Ajax for (j=0; j < cidade_nome.length; j++) { $.post('envia.php', {ano:ano, ano2:ano2, cidade: cidade_nome[j].value}, fnRetorno); } Function fnReturn function fnRetorno(retorno) {…
-
2
votes2
answers643
viewsQ: Using the callback of a function
$(function () { $("#formulario").submit(function() { var cidade_nome = $('#cidade option:selected'); var ano1 = $('#ano1').val(); var ano2 = $('#ano2').val(); var registro; var param_1; var…
-
1
votes1
answer746
viewsQ: Insert excel column in a table in Mysql
I have a mysql table(has 600 records): The column duvet is a column that will be extracted from an excel cell, (Mysql for Excel), doesn’t have the update option to just add and when I add the cell…
-
2
votes1
answer58
viewsQ: Access option of object without being with dot
I have an object json in javascript and need to access it,was currently accessing your options so: registro.man_ins_prod_05 Entertaining on the hightchart in the part of adding values(date) on the…
-
1
votes1
answer1952
viewsQ: Query the database send and use javascript
My difficulty is after sending to java script how to separate each record: Example: In my code I’m running this function: $culturas=array(); $resultado=mysqli_query($conexao,"select *from…
-
1
votes2
answers395
viewsQ: It is possible to return a vector to a javascript
I’m developing customizable graphics by users where it can select the options they want, parameters to the php searching in the database sql and give me back what I want. For the charts I’m using…
-
3
votes1
answer6009
viewsQ: Check if a filled-in session exists
I’m having trouble checking if there’s anything within the session. The functions I’m using are: Function to check if you have someone logged in if(usuarioestalogado()){?> <p…
-
-3
votes2
answers186
viewsQ: Tools for working with Graphics
I need to search data in a database and make graphs with it,I believe that the search of the database is normal what changes is the tool to make the graph. My doubts are: -What is the best tool to…
-
3
votes1
answer720
viewsQ: Identify elements with xPath
I wanted to identify the following element on a page: <input name="ctl00$ContentPlaceHolder1$txtData" type="text" value="19/01/2015" id="ctl00_ContentPlaceHolder1_txtData"…
xpathasked Rodolfo Oliveira 917 -
2
votes1
answer102
viewsQ: Access certain line of the variable
A while ago I asked a question about regular expressions and a user answered me using this code, using xpath: $dom = new DomDocument;…
-
1
votes3
answers1117
viewsQ: Validate the form without sending it
I’m trying to validate a form to verify that everything is at least filled out. The problem is that I am not submitting the form as I cannot reload the page. I’m just capturing the event by…
-
0
votes2
answers4944
viewsQ: Put value on everything null in mysql
I have the following problem,I created a table in mysql added all the records and after that I created a foreign key in it, this table contains information of only one "thing", however in the future…
mysqlasked Rodolfo Oliveira 917 -
3
votes2
answers236
viewsQ: Regular expressions
I have a little difficulty to assemble the regular expressions, I’m trying to work with this code: <?php $url = file_get_contents('http://ciagri.iea.sp.gov.br/precosdiarios/');…
-
1
votes0
answers126
viewsQ: Use one tabbed panel inside another
I’m trying to use one tabbed panel inside another. The problem I’m facing is: -From the second tab I select it inserts the option and does not replace Example with images below: First selection-OK…
-
0
votes0
answers441
viewsQ: Mysql For Excel and options to import Excel table in Mysql
I am trying to import a database that is in Excel format to Mysql. I was trying with Mysql For Excel, launched same company. As you can see in the image below it is already installed: In my Excel…
-
-3
votes1
answer284
viewsQ: Search the database and compare
I have a simple code whose goal is to get the value of a field and make a comparison, if the value is zero, do one thing, otherwise do another. However I must be missing something, because it is not…
phpasked Rodolfo Oliveira 917 -
3
votes1
answer283
viewsQ: Javascript only works if placed directly on the page
I have some functions and they only work if they’re put in the same file where the code is that will use them. Break up with: <script type="text/javascript" src="js/funcoes.js"></script>…
-
1
votes1
answer140
viewsQ: Send hidden value in a select
Is there a property in select that when I select an option when sending it sends another one? For example: <form action="teste.php"> <p> <select name="mes" id="mess"…
-
1
votes0
answers36
viewsQ: Problem with Tabbed Panel
I’m trying to implement a code in php,in which search for a parameter,create a tabbed panel according to the parameter and within this tabbed panel create another tabbed panel,Entering the code is…
-
0
votes2
answers474
viewsQ: Sockets in java
Implement a Java program that waits for network connections directed to port 13131 and, depending on information that will be transmitted to you through the aforementioned connection, perform movie…
-
1
votes1
answer488
viewsQ: How to pass exception message to an HTML page from a JSP?
I have a college exercise where I have to create a page. jsp that takes as parameter an "id" and runs a query to delete the record within the class products with this id and in case of any exception…
-
1
votes1
answer852
viewsQ: Use selectpicker in jQuery
I have this selectpicker code(bootstrap) <select name="nivel_p" class="selectpicker"> <option>menor que 6</option> <option>7-15</option>…
-
0
votes2
answers251
viewsQ: jQuery adding several lines in html
I’m using the following code: $("#divPrincipal").prepend('<p class="text-success">Você terá aproximadamente ' + resultado + ' plantas </p>'); The idea was to click on a button and it…
-
2
votes3
answers21897
viewsQ: Add to html code via jQuery
I’m trying to add an HTML code to my HTML via jQuery,Entering any text works,already with a bootstrap tag does not For example: $(function($){ $('#enviar').click(function (e) { var linhas =…
-
2
votes1
answer215
viewsQ: Use jquery without refresh on the page
I have this jQuery and when I click on the button it updates with the result and gives a refresh on the pag,in vdd changes the test/index.html link to test/index.html? ,I wonder if you have how to…
-
3
votes2
answers3812
viewsQ: Send form data via GET to server (without updating page)
I have this form and would like to give a GET for variables with their value when clicking the button, without refreshing the page because I have other forms on the same page, it is possible with…
-
5
votes1
answer438
viewsQ: Mark an image with a dot
I have a picture of a map and would like to put dots on it. How to do?
phpasked Rodolfo Oliveira 917