Posts by Marlon Castro • 419 points
25 posts
-
3
votes1
answer1363
viewsQ: Laravel and Front-End
Well , I wanted the opinion of some dev’s who have gone through the same dilemma I’m going through right now, I don’t know if this is the right channel to realize this question. I have to build an…
-
1
votes2
answers475
viewsQ: Create menu of options
I need to make a menu of options in my application developed in Ionic 2. I already checked the documentation and found nothing to help me. Does anyone know how to do ? Do you have a tutorial or a…
-
1
votes0
answers57
viewsQ: Sequential execution
I am new to the world of angular and Ionic. I have a main function that executes a command in the bank if this command gives error it calls another function . So far so good, only that this function…
-
0
votes0
answers29
viewsQ: Update the application database
I’m a beginner in app programming. I’m developing an ionic 2 with the angular 2. A doubt has arisen, I have a provider and in it I do all part of the database using the SQLite, just that there was a…
-
0
votes1
answer226
viewsQ: Problem with namespace and include
Good morning. I have a webservice made on slimPHP . I have a class called control, and he belongs to the namespace controllers, it works normally without problems , but there arose the need to…
-
1
votes3
answers684
viewsA: How to give Focus in a row by the contents of a td column?
After a lot of struggle get to do what you wanted. Follow the code below. I hope you help someone. Basically I go through the table I want to compare the data. If he found I color the line and give…
-
1
votes3
answers684
viewsQ: How to give Focus in a row by the contents of a td column?
I created a function to give focus in-line of a table, in this function I have to find the cell with the same values that I will pass by parameter. I wish that when he found the line he only…
-
1
votes0
answers43
viewsQ: Deep search in tables
I need to look for a value , only I have a problem, I have to search in 3 different tables to find , and when I find I should direct the focus to the DIV where this table is. I can do this search…
-
1
votes1
answer2146
viewsQ: PHP with real-time updates
I want to start a project, and studying and doing surveys saw the need for updating in real time. As for example: I have a call screen, which shows the companies that telemarketers have to call.…
phpasked Marlon Castro 419 -
0
votes2
answers92
viewsA: Error converting Ajax Array to Array in PHP
Try using POST instead of REQUEST. See if it works! In the request ajax change the method:'POST' for type: 'POST' and do your php like this and change the ajax too! $.ajax({ url:'deletar.php',…
-
3
votes2
answers950
viewsA: Change XML tags value
I found a solution. I did it this way! public function corrigirXML() { //Setando o DOM e versão XML $DOMDocument = new DOMDocument('1.0', 'UTF-8'); $DOMDocument->preserveWhiteSpace = false;…
-
3
votes2
answers950
viewsQ: Change XML tags value
I’m having a hard time. I’m unable to scan the XML file and change the values of the tags I need, they are NOTA and SERIE. I have to replace these tags with new values, someone knows how to do it ?…
-
1
votes1
answer92
viewsA: ORACLE Date Error
At the time of creating the view the guy was giving a Where with date , that’s why the error. I told him to put a TO_DATE and solved.
-
0
votes2
answers311
viewsA: Extended PDO connection does not work
First create your connected class by calling conexao.php <?php class Conexao { public static $instance; private function __construct() { // } public static function getInstance() { if…
-
0
votes1
answer92
viewsQ: ORACLE Date Error
Although I have many materials on the subject , nothing has helped me to solve. I am trying to make a simple query in an oracle database and get an error, follow the error. OCIStmtExecute:…
-
0
votes1
answer81
viewsQ: Advanced SQL query with dates
I have been in trouble for days. I have my chart and need to count how many grades are late, so that’s okay. I just don’t know how to make that appointment. I need to check if they are late, to be…
-
2
votes2
answers92
viewsQ: Date calculations in the query
I’ve been having a hard time for some time. I’ve been researching, but I haven’t found anything that would help me. I need to make a calculation in a query, is the following. I need to take the day…
-
1
votes2
answers292
viewsQ: Problem with recursive function in array
I have a function (which I found here in the forum) that does a search in the array and returns whether it has the value I seek or not, so far so good. Only that a need has arisen, I need to return…
-
6
votes1
answer247
viewsQ: Is my code object-oriented?
I have a code and would like to know if it is an object-oriented code. It follows the structure. I work with 3 files. first flame save.php, follows the code: include_once('dao.php');…
-
0
votes0
answers79
viewsQ: Error loading an HTML file
Good , some days I asked a question about optimization here , and I got satisfactory answers. I soon came to the conclusion , that the way I was doing my WEB system would cause performance problems…
-
0
votes2
answers48
viewsQ: Optimization doubt
Talk, you guys, baby ? I have one question... I am making a system that contains several screens , and I am organizing as follows , I created a single index for the main page, and this index has all…
-
1
votes0
answers44
viewsQ: Doubt with hierarchical data
Talk, you guys, all right ? I have a problem already have a few days , in the system I need to control the display of some data, I have a function registration , sector and employee, linked between…
-
0
votes0
answers305
viewsQ: Mysql SUM function and return data
The function below does not return me the expected. I want her to return a sum and the fields with the id colaboador , but in Javascript I get an error, and I believe it is in PHP. select works…
-
2
votes1
answer3455
viewsQ: Load content from one div into another div
I have the following problem. How do I load a content from a div into another div empty that is in the same HTML file? Example: <div class="conteudo"> <label> Teste 1 </label>…
-
0
votes1
answer610
viewsQ: Pass multidimensional array to php
I’ve been struggling with a problem for days.. Here’s the thing, I have a multidimensional array and I want to pass as a parameter in a request ajax for a php file , however when I’m doing this what…