Posts by João Vitor • 441 points
36 posts
-
0
votes0
answers280
viewsQ: Problem in Autoload PHP
I’m starting to POO and SPL and recently faced the following problem: I have the following file that makes the whole bootstrapping of my application init.php, and in it, I do the autoload of all…
-
0
votes1
answer44
viewsQ: Problem rotating an object continuously
I created a circle to rotate 45 degrees every time I click the arrow, either right or left. For this I am using CSS and jQuery. (FIDDLE NEXT) I did the following function spin(direction) so that it…
-
1
votes2
answers51
viewsQ: Return desired value within a function
When trying to return the value of $("#datepicker-range").val() at the beginning of the code, console gives me a value emptiness. Soon, I was suggested to make a Sniffer page because the reason the…
-
1
votes0
answers22
viewsQ: Geolocation - returning zero to server only
I have the following code that returns my latitude and longitude. Fiddle <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">…
-
1
votes2
answers1654
viewsQ: Variable period date SQL Server
Below I have the following code where I search in a table all the data within the specified period in the declared variables. However, a specific client has a different month closure, in this case,…
-
0
votes1
answer384
viewsQ: Function regex blank spaces SQL Server 2008
Hello, Within a specific table in my DB, I have certain fields that were registered by someone else (users), so some fields instead of having a single space ' ', has spaces of the most diverse…
-
2
votes0
answers374
viewsQ: Wrong location Google HTML API
Hi, I’m trying to capture my location from the Google API/with the new HTML5 features. However my latitude and longitude always gives this which is incorrect, whether on computer or mobile:…
-
0
votes0
answers1850
viewsQ: Fatal error: Call to a Member Function rowCount() on Boolean
Hello, I’m a beginner in PDO connections in PHP and my first select I am facing the following error: Fatal error: Call to a member function rowCount() on boolean in…
-
0
votes0
answers1814
viewsQ: Fix first column and header of an HTML table
Hello, I have this fiddle exemplifying exactly how my table is: What I’m trying to do is, in addition to keeping the first column fixed, as it is exemplified in fiddle, where I followed an example…
-
1
votes2
answers1620
viewsQ: Fix column of an HTML table
I have a considerably long table and for better user experience, I want to put the first column, which will present images, as fixed, type in excel, freeze the panel so that the view is better in…
-
0
votes1
answer113
viewsQ: PHP & Mysql on AWS
Hello, I am new to the issue of AWS and would like to acquire a machine there so that it works basically as a localhost server (MAMP, WAMP, XAMPP) so that it works as a website, only with everything…
-
2
votes2
answers817
viewsQ: Alignment Gif Loading
Hello, I have the following code: https://jsbin.com/jojukiseze/1/edit?html,css,output I’m trying to align it so that it is centered on the screen regardless of screen size or orientation (whether a…
-
2
votes1
answer810
viewsQ: Insert Mysql data with file . txt
I have the following file, somewhat simple: new_user.txt JOAO|18|JOAO VITOR BARBOSA|MANDAQUI ROGERIO|38|ROGERIO JOSE DE BARROS|CAPAO REDONDO My table in the bank was created as follows: users create…
-
3
votes3
answers84
viewsQ: Partial selection of a class with jQuery
Hello, I would like to know if it is possible to select a class/element from a partially informed value, for example: <div class="chart-piso c100 p100 orange big"> <span…
-
0
votes1
answer876
viewsQ: error: Object {readyState: 4, responseText: "", status: 200, statusText: "OK"}
I have an AJAX request that returns certain data from my database when the user filters some information, sometimes the filters work 100%, but sometimes it returns within the error of the request…
-
3
votes2
answers14983
viewsQ: Handle error: "Uncaught Typeerror: Cannot read Property of 'value' Undefined"
Hello, When making an AJAX request, I have the following error: Uncaught TypeError: Cannot read property of 'rede' undefined. Until I understand the reason, I do not have the following value on…
-
1
votes1
answer1378
viewsQ: More than one chart with Chart.js
Hello, I’m having trouble trying to show more than two charts with Chart.js; at the moment I have two charts that load perfectly in my code (ctx, ctx2), already when I try to load the third one, it…
-
0
votes2
answers285
viewsQ: CSS alignment
I have the following panel: I’m trying to line up the charts inside the div from the class alinha-chart but without success. When I put one left: 33% and right: 33% it gets centered, but as…
cssasked João Vitor 441 -
0
votes1
answer312
viewsQ: jQuery function does not work inside if
I have the following code: function formataPorcentuaisMensais(){ var cancelamento = $("#cancelamentoMes").text().replace('%',''); var aproveitamento = $("#aproveitamentoMes").text().replace('%','');…
-
-1
votes2
answers255
viewsQ: Replace Undefined javascript value
Inside my Dashboard, the user makes a filter that goes to the database and returns a Javascript object through an asynchronous request and the array extension may vary, and may have one length from…
-
0
votes1
answer46
viewsQ: Filters with PHP priority
Hello, On many web platforms, I see that there are forms, search systems, etc., where the user needs to, mark some elements, be they dropdowns, checkboxes, radios Buttons, but in some of them,…
-
5
votes3
answers1506
viewsQ: Formatting numbers with jQuery
Hello, I have an array that is returned via an AJAX request and I intend to format the numbers of each of these keys as follows: Example: Standard values -> 2569 -> 192544694 How I wish they…
-
0
votes1
answer250
viewsQ: Upload . txt to Mysql database
Hello, I would like to upload a file .txt which meets the layout as follows (following example of two lines of the file): 9787546;488464;2016-12-11;Carlos Fonseca;carlos.fonseca…
-
1
votes1
answer4048
viewsQ: Populating Chart.js with AJAX request data
Hello, First I’ll give you a brief introduction to how my system works so that you understand exactly my difficulty. Maybe it gets a little big, I’m sorry. Within my system, when the user logs in, a…
-
2
votes2
answers1528
viewsQ: Filter c/ AJAX + PHP
Within my system, the user logs in, some information searched in my database is shown, follows function that searches the data and how they are listed: Function # função que busca os dados de…
-
0
votes0
answers141
viewsQ: Data Return PHP + Ajax
Hello, On my system I intend that, the user select the data present within the dropdowns and click confirm, the selected value goes to the document filtraDashboardGeral.php, with a PHP function…
-
-1
votes2
answers161
viewsQ: Popular PHP dropdown error with array
Hello, I have the following function that returns me the necessary data to popular my dropdown: function listaRedes($conexao){ $dados = array(); $resultado = mysqli_query($conexao, "SELECT DISTINCT…
-
0
votes1
answer878
viewsQ: Div with load overlap
Hi, I got this div and I made a code in jquery for when to trigger it through an event, it appears, but I want to style it in a way that the div overlays all the content of my page, with a black…
-
1
votes0
answers45
viewsQ: Number of Mysql lines
I wonder if it is possible to show the total number of rows in a table by giving a SELECT in Mysql Workbench (I’m using version 5.2.33), because it only shows the first 1000 rows of my table, so…
-
1
votes1
answer257
viewsQ: Import CSS files with SASS
I’m starting in SASS and I’m trying to make a CSS file that will be a combination of several plug-ins that are in format . css (bootstrap, fontawesome, etc.) and for that I’m using SASS, but it’s…
-
0
votes1
answer98
viewsQ: Indentation SASS 2 spaces?
Hello, Recently I am using Sass without any front-end automation due to company guidelines and I usually work with the format . Sass, but I’m having problems with the identations of the same, always…
-
0
votes1
answer72
viewsQ: Multiple Conversion SCCS > SASS
Hello, Previously, in a project of mine, I did more than two hundred files. scss, and recently adapted to the use of .sass. I wonder if it is possible to convert all these files at once, instead of…
-
2
votes0
answers647
viewsQ: Mysql Workbench connection in Phpmyadmin?
Good morning. I’m trying to make a Mysql Workbench remote connection to my AWS cloud, where Phpmyadmin is installed, but I’m not getting it. The error presented is: I’ve Googled this mistake but…
-
0
votes3
answers47
viewsQ: PHP data in Javascript document
Good afternoon. I have the following code in PHP, rather simple: <? include("conexao.php"); $sql = mysql_query("select top 1 * from grafico_tb order by data_referencia desc"); $dados =…
-
1
votes2
answers623
viewsQ: Last update Mysql table
good morning. I have a trial that runs daily deleting data from a table with daily data from my system’s customers and for data availability reasons, sometimes this trial runs sooner or later. I…
-
0
votes0
answers38
viewsQ: Dynamic Dropdown and Value Printing?
I’m making a BI panel, and in it I’m searching all the NETWORKS and putting into a dropdown, until then all right Follows code: <div class="row wow fadeInRight"> <div class="col-sm-3…
phpasked João Vitor 441