Posts by Marcelo Augusto • 315 points
25 posts
-
0
votes0
answers90
viewsQ: How to send data, via POST, from android to PHP synchronously?
I need to send data to the database, and I’m using PHP. I was trying through the Ion library, but because it was asynchronous, the application featured Nullpointerexceptions when more than one data…
-
1
votes1
answer92
viewsA: "Could not find driver" when setting the application’s root page
I entered the php.ini file settings of version 7.0.10 installed on the server and decoded the line extension=php_pdo_pgsql.dll. I suppose, when running the server by the previously listed command,…
-
0
votes1
answer92
viewsQ: "Could not find driver" when setting the application’s root page
When rotating the command php -S localhost:8080 -t public The above error is triggered when I try to make a connection with postgres. Other applications can access normally when accessed through the…
-
0
votes1
answer48
viewsQ: How to use a Join clause by adding a column indicating the existence of a connection
I have two tables Horas (id, aluno_id, atividade_id) and Atividades (id, emblema_id) In addition to returning all the badges, I need to return a column that tells me if that student has it. To know…
-
1
votes2
answers479
viewsQ: Trigger to connect multiple records
I have 3 tables: Usuarios (id, nome) Desafios (id, descricao) Usuarios_tem_desafios (id_usuario, id_desafio, status) The goal is, when adding a new user, to fill the table Usuarios_tem_desafios with…
-
0
votes2
answers1167
viewsA: Take the value of a php session
If you just want to take the amount, just do $_SESSION['email'];
-
1
votes0
answers54
viewsQ: Page redirection with inconsistent JS and PHP
I am trying to redirect to a page using window.location.replace(). However, sometimes the page does not redirect. At first I thought the error was loading a google source, but even removing, the…
-
4
votes5
answers3695
viewsQ: Regular expression to find bar
I need to validate a field and it must have the following format: two letters/numbers. Ex.: RN/1234567. The two letters will always be uppercase and the number quantity has no limit.
-
0
votes1
answer46
viewsQ: Return average cost between partially equal products
As exemplified in SQL Fiddle, given the tables, the data will be returned as follows: nome | descricao| tipo | custo| ult_lancamento | entradas | saidas…
-
0
votes1
answer124
viewsQ: Dropdown menu changing footer positioning
When opening the list of options, the footer is affected and has its position changed. Code on the fiddle…
-
1
votes1
answer1239
viewsQ: How to change the color of a Jtable’s lines?
I need the line color to change whenever the cell value is 0. However, all lines are being painted. View with a simple Jtable import javax.swing.JTable; public class View extends javax.swing.JFrame…
-
1
votes1
answer845
viewsA: java.lang.Classnotfoundexception: Didn’t find class "com.google.firebase.provider.Firebaseinitprovider" on path: Dexpathlist
I saw that you have already enabled Multidex, so to complement, you should create a class and make a extends in class Application package android app. and call the install method of the Multidex…
androidanswered Marcelo Augusto 315 -
0
votes1
answer67
viewsA: Configure tooltip in grid cell click event
I found a solution to my problem, but I’ll leave it open in case someone gives a better solution. Well, so that the tooltip only appeared when I clicked and disappeared when I moved the mouse, I…
-
0
votes1
answer67
viewsQ: Configure tooltip in grid cell click event
I’m trying to show a tooltip when the user clicks on a grid cell. When I click on a cell, the tooltip appears. The problem is that, after the click, it keeps popping up whenever I hover over any…
-
2
votes3
answers1305
viewsQ: List records that are in a table and those that are not in the same table
I have a points table and a users table. At points, I have an ID that references the users table user. What I need to do is return all users who have hit the point, along with those who haven’t hit…
-
2
votes1
answer13579
viewsQ: Calculate time difference in php
I am trying to show how many hours an employee has worked, however the ways I tried presented incorrect values. Follow the same below: This returns the difference with 3 hours and 2 minutes less:…
-
0
votes0
answers204
viewsQ: Easyphp - Unexpected end of Apache
I’m trying to start Easyphp, but Apache is showing this error. In the Easyphp logs appear the following message: Easyphp Serverbase::Timerproc : Getprocessversion Apache (pid: 11332) error 5 I’ve…
-
1
votes2
answers1109
viewsQ: How to change the opacity of a part of the image?
I’m mapping an image so that when I click on a certain area, another page will be referenced in an iframe. However, so that the user can know where he is clicking, I want to increase the opacity of…
-
0
votes0
answers94
viewsQ: Exception in thread "main" java.lang.Nullpointerexception after it runs the first time
exercicio02.CaracterSort.buscarJogador(CaracterSort.java:116) at exercicio02.CaracterSort.cadastro(CaracterSort.java:110) at exercicio02.CaracterSort.main(CaracterSort.java:39) When I run the code…
-
0
votes2
answers1288
viewsQ: How do I make the file sending field invisible?
I want to remove that part "Choose file.. No selected file" and leave only one image.
-
0
votes1
answer1448
viewsQ: How to show an image whose path is in the database?
I’m using Extjs 4 and PHP. I have an image saved in a server folder and its path is saved in my database. I tried to do something like this: Code in the controller: onVerImgClick: function(btn, o,…
-
0
votes2
answers117
viewsA: How to return more than one property with JSON?
As suggested to me, I took a look at the script where I start the session and realized that I was missing a line of code that delegated the registration. if($array['login'] == $login){…
-
0
votes2
answers117
viewsQ: How to return more than one property with JSON?
I would like to know how I return more than one property in PHP. Below is the code where I return the user name and wanted to return, in addition, his registration. I tried to do the same by adding…
-
0
votes1
answer730
viewsQ: How to prevent the user from accessing without being logged in?
I am developing an application with Extjs 4 and PHP. My problem is this: How do I make it so that the user can’t access an application page without being logged in? I’ve tried everything (I know),…
-
2
votes1
answer213
viewsQ: My application does not save accented data correctly
I’m developing a web application with Extjs 4 and PHP. I’m having trouble doing the INSERT in the database. For example, I registered the product "tea", but it saves "chu00e1". My entire database is…