Posts by Danilo Araujo • 306 points
23 posts
-
0
votes0
answers53
viewsQ: Exclusive connection on Firebird
I am having a problem in production environment, because my application is trying to access exclusive form the database and precise circumvent this problem. In debug this did not happen. Returning…
-
0
votes1
answer53
viewsA: Use Indexfieldnames in FMX
Solution I found. Not the best but helped. Number:= Column.Index; Name := GDTitulos.ColumnByIndex(Number).Header; case Number of 1: Name:= 'ID_TITULO'; 4: Name:= 'NOME_FANTASIA'; 5: Name:=…
-
0
votes1
answer53
viewsQ: Use Indexfieldnames in FMX
I’m trying to use the IndexFieldNames inside the FMX to organize the data according to the column but when calling the method HeaderClick, I can’t get the Column name and only its content. Using…
-
0
votes1
answer78
viewsQ: Finalizearray Example
I’m trying to clear a vector after performing a procedure, since I need to use the same vector to make the next loop of the procedure. After a lot of research, I found the appropriate filter to…
-
1
votes1
answer1711
viewsQ: FDQUERY at runtime
I’m trying to use the FDQuery only at runtime. I’ve done a lot of research and tried several changes, but they all end with Access Violetion, so it’s suspicious that the component isn’t being…
-
3
votes2
answers251
viewsQ: Fdquery what risks to use variable instead of Parameter
I’m making a connection to search for data inside the bank on one condition IN(), but I had trouble implementing it between FDQuery and the Firebird. Analyzing the problem I realized that command…
-
0
votes2
answers76
viewsA: How to use Firebird 2.1 > ABS in Firebird 2.0?
Creating a UDF External is possible to use this Function. Build the same method in Delphi or C++ and create a dll.
-
0
votes2
answers1423
viewsA: Update page without losing the value of a variable
This example illustrates the basic creation of a session anchored in a global variable. However the exaggerated use of global variables brings serious risks application. The above comments a…
-
0
votes1
answer102
viewsA: Error to grab last ID
Has so: $stmt = $DB_con->prepare('SELECT IFNULL (max(`ID`),0) FROM tbl_casualidade'); $stmt->execute(); $result = $stmt->fetchAll(); $ct=$result[0]; Or that:…
-
1
votes1
answer207
viewsQ: Multiline string with Javascript
I have a small string to display in Javascript, but after much trying, I learned that if there is enter in the middle of the string snippet it will not be displayed. Can someone explain to me if…
-
0
votes1
answer94
viewsQ: Table with select and Submit
Hello friends I’m trying to make a table, being for each table item appears a <select> and a submit that will send data via POST, as it is relative how many units will appear it is not…
-
0
votes2
answers913
viewsQ: Use $_POST in a Php variable
I’m learning to use POO I would like to ask for help, as I cannot insert the $_POST within a variable, I’ve researched and looked at my books, but I’m not getting any progress. I’m grateful for your…
-
0
votes1
answer165
viewsQ: Ajax sends php query in Mysql
Hello friends I’m studying Ajax I’m trying to make this code execution work, but I still can’t. I’m trying to do after formprodutos be selector is sent to consultarcor.php via Ajax the information…
-
1
votes1
answer241
viewsQ: How to insert data using query in a for loop?
I’m trying to insert data into the mysql DB being that some data repeats and others not so who would command the number of executions would be the for, but it is not running the query inside for. I…
-
0
votes2
answers305
viewsQ: Vector make a mysql query
Hello guys I’m trying to make a query using vector, but as far as I’ve learned the sql command does not hold the vector the way I’m doing so my result is empty variable.…
-
3
votes1
answer96
viewsQ: if only executes Else
Hello guys I have this function ifit collects a variable coming from login.php and does a check to choose between two menus. It just doesn’t matter the result inside the variable $permt he always…
-
2
votes2
answers9602
viewsQ: Generate csv file in php
Hello guys I am trying to create a php query in mysql database to generate a csv file according to the code below. The problem is that the part that would download the file is showing error, I…
-
0
votes2
answers450
viewsQ: Sending form for two php files
I have a curious and perhaps idiotic doubt, but come on. It is possible to send data from a form to two different php files?
-
0
votes2
answers276
viewsA: Run include inside if
After some reading I found the reason for my mistake, where help from Eduardo Almeida was extremely useful giving the paths to understand the code. Read the instructions given by him
-
0
votes2
answers276
viewsQ: Run include inside if
Hello I need to add one include within a function if but at run time does not read the added include. Someone can give me a hint where is the error. Menu content.html <div id='menutopo'>…
-
1
votes1
answer67
viewsQ: count record based on variable
Hello I am trying to build a search in the Mysql record by two parameters; name and dates. For example, I need to do an execution in Php where I enter the name of who registered ( Box) and dates…
-
0
votes2
answers334
viewsA: form read database
Solve all problems by changing the field to: <select name="grupo"/> <?php $sql= mysqli_query($conn,"select tipo from grupodeprodutos order by tipo"); while ($resp =…
-
2
votes2
answers334
viewsQ: form read database
Hello Folks I am trying to make a form read Mysql database options, however the code line below shows me only the word "Array". What is my mistake in this line? Can anyone help me. <form…