Posts by Daniel Alencar Souza • 195 points
24 posts
-
-2
votes1
answer39
viewsQ: Is giving javascript conflict
I am trying to create a command by copying what I type into an input in the other, but when there is more than one record it does not perform the function in the first input. Below comes the code:…
-
-1
votes1
answer47
viewsQ: My code is having infinite loop, which is wrong
My code is presenting an infinite loop, which may be wrong Code in javascript // Mensagens var fromm = null, startt = 0;urll = "chat/novo.php"; $(document).ready(function(){ //from = prompt("Daniel…
-
0
votes2
answers204
viewsQ: How to copy content from a div to an input?
I’m trying to copy content from a div to an input. I’ve been able to copy from one input to another or from one div to another, but I couldn’t get from one div to an input. <div id="teste">…
-
0
votes1
answer749
viewsQ: FATAL EXCEPTION: main Process:-When I opened the application give ANDROID error
every time I try to open an error query, I’m using php along with java follows the error below: E/AndroidRuntime: FATAL EXCEPTION: main Process: br.com.alencardeveloper.escola.sisescolar, PID: 11602…
-
0
votes1
answer407
viewsQ: Set a condition in order by mysql
I am having doubts about a subject related to order by. In my table you have the following information: ID | ORDEM | NOME 1 | 0 | NOME01 2 | 2 | NOME02 3 | 1 | NOME03 I want to give a select where…
-
1
votes1
answer54
viewsQ: Does not send html by email php
I created a code to send e-mail, but not send anything html, my code is <?php $email = $_POST['email']; $emailenvio = "[email protected]"; $subject = "Recuperar a senha!"; $img = "…
-
3
votes3
answers203
viewsQ: How to show a column, but if null show another sql
How to show a column, but if null show another sql as Example a table with the name tasks. | id | nome | nome resumido | +-----+----------+----------------+ | 1 | nome 1 | 1 | | 2 | nome 2 | 2 | | 3…
-
1
votes2
answers786
viewsQ: How to catch the last Monday in php
How to always pick the date of last Monday in PHP, For example today is Tuesday day 22/05 (Tuesday) and php picks the date 21/05 (Monday).
phpasked Daniel Alencar Souza 195 -
2
votes1
answer1113
viewsQ: How to Insert into the table if the record does not exist
How to insert in the table if there is no record, as for example there is the table turma_materia, has the following information: +----+-------+---------+ | ID | turma | materia |…
-
1
votes1
answer243
viewsQ: Save more than one PHP and MYSQL record
How do I update more than one record, for example appears on the page notes.php the following information: This information is from a bank, so are different ids each student. My problem is when I…
-
4
votes2
answers112
viewsQ: How to make a NOT IN mysql with 2 tables
I have 3 tables Person, class, Notes, table person has: +------+--------------+-----------+ | id | Nome | turma | +------+--------------+-----------+ | 1 | Aluno 01 | 1 | | 2 | Aluno 02 | 2 | In the…
-
0
votes2
answers55
viewsQ: Give an input in a table with information from two tables
I would like to know how to insert in a table ids of two other tables. For example, there are 5 tables one is student, which has the following information: +--------+------------+ | ID_ALU | nome |…
-
-1
votes1
answer819
viewsQ: how to change the dompdf orientation
how to change the dompdf orientation. Already include the following code, but it did not work $dompdf->setPaper('A4', 'landscape');
-
0
votes2
answers56
viewsQ: How to select in a table as if it were two records
On the table person has the following information ID | NOME | É_ALUNO | É_RESPONSAVEL 1 | ALUNO | TRUE | FALSE 2 | RESPON| FALSE | TRUE There is another table with the name student, in this table…
-
1
votes2
answers164
viewsA: Postgresql pg_hba.conf
To stay open to any machine you must put host all all 0/0 md5 thus releases to any machine
postgresqlanswered Daniel Alencar Souza 195 -
0
votes1
answer1204
viewsQ: Posgresql has no role with superuser how to create a
When I went to check in postgresql has no superuser as I do to change or create a superuser
-
0
votes0
answers29
viewsQ: How to give a select to only get some mysql record
In the table turma_materia has the following information. CODIGO | MATERIA | TURMA --------------------------------- 1 | 1 | 2 In the table Materia has the following information CODIGO | NOME DA…
-
0
votes1
answer577
viewsQ: How do I fill a listbox c# mysql
How do I fill a Listbox with C# and mysql and at the same time put the value of each record? until the moment I managed to configure to appear the name, but not the code of each:…
-
0
votes1
answer66
viewsQ: How to put two records from one table into another as one in select Mysql Database
How to put two records from one table into another as one in select Mysql Database? SELECT TURMA.turma_id, TURMA.turma_nome, PROF.prof_name from turma TURMA LEFT JOIN professor_materia PROF_MAT ON…
-
0
votes2
answers15217
viewsA: How to find the file directory by "inspect element"
If you click on the image and click to open in a new tab, most of the time it works too. It appears the directory.
-
0
votes1
answer73
viewsA: Search Filter showing only 10 results
Can be changed in Settings>Reading.…
-
-1
votes1
answer57
viewsQ: I am creating a school system, I want together a list of linked teachers and materials Database (Mysql)
I am creating a school system, I want to add a list of teachers linked to materials and virse and versa. I use the Mysql database Example: Professor 1 - Materia 1 Professor 1 - Materia 2 Professor 1…
-
0
votes3
answers38
viewsA: Select in each response different values with Mysql Database
I managed to solve this problem, is as below SELECT COUNT(CASE WHEN nota_valorI>6 then 1 ELSE NULL END) as "UNI_I", COUNT(CASE WHEN nota_valorII>6 then 1 ELSE NULL END) as "UNI_II", COUNT(CASE…
-
2
votes3
answers38
viewsQ: Select in each response different values with Mysql Database
I would like to know how to select the number of records from a table where only values greater than 6 are selected, but each result is different, with the Mysql database, for example: Tabela Notas…