Posts by Thiago Augustus Oliveira • 121 points
6 posts
-
0
votes2
answers184
viewsA: Error of data formatting
As you have already created the database you will have a slightly bigger job, do the following: Change the database encoding: ALTER DATABASE <nome_do_banco> CHARACTER SET utf8 COLLATE…
-
2
votes1
answer722
viewsA: Mysql data query with x Days to expire
Use the Between clause in your query. SELECT f.*,a.* FROM a_finan AS f INNER JOIN agenda_saidas AS a ON a.id_saida = f.id_saida WHERE a.id_transfer1 = '$id_transfer' AND f.id_transfer =…
mysqlanswered Thiago Augustus Oliveira 121 -
0
votes2
answers184
viewsA: Error of data formatting
The problem is in the coding between the written code and the database. You can follow a few steps to solve, I will exemplify with UTF-8: First check that your IDE is encoding in UTF-8. In the case…
-
0
votes3
answers275
viewsA: can’t access already instantiated class data
Make sure you are not including 2 times the same class. It may be being included within some other include. For example: config.php include ('OP_config.php'); class Config { ... }…
-
0
votes3
answers62
viewsA: Error giving a select in two tables
If I understand what you need, try adding NOT IN to the query. SELECT * FROM solicitacaoemprestimo WHERE socio_codigo = '41' AND socio_codigo NOT IN ( SELECT solicitacaoemprestimo_socio_codigo FROM…
mysqlanswered Thiago Augustus Oliveira 121 -
0
votes0
answers269
viewsQ: Acceptance Test with URL redirection
Hello I’m trying to generate a acceptance test to my login page using codeception and Yii2, only that the problem is that after the login the user is redirected to the main page and there the user,…