Posts by ooredroxoo • 731 points
25 posts
-
0
votes1
answer28
viewsA: Create a select within another select to select the top ten values of each month
Assuming you have a table with the following structure: +-------+----------+ | CAMPO | TIPO | +-------+----------+ | ID | NUMERIC | | NOME | VARCHAR | | TOTAL | NUMERIC | | MES | DATE |…
-
1
votes1
answer44
viewsA: How to select data that depends on other tables that have another key in common?
Okay, in this case I believe it helps to think with relationships. Some banks allow us to create relationships using the WITH statement, that way we can do something like this: WITH items_acervos AS…
-
0
votes1
answer25
viewsA: Git project with two separate folders
Okay, I believe that there are several possible answers to this question, I’m going to raise two possibilities and approaches. Separate Repositories One option would be to have two applications, one…
-
2
votes1
answer21
viewsA: How to list tables that contain null values in an oracle database?
Okay, first let’s understand what you mean by null, I believe there are two ways to interpret your question: A table without records A table whose column X is unregistered. In the case of a table…
-
0
votes1
answer19
viewsA: Google App Script changing order of firestore sheets
Looking at your code I believe that you should sort the column array, this can be done using something like Sort or reduce it, you can pass a proper algorithm for this. This is because when you ask…
-
1
votes1
answer33
viewsA: How to pass a value from a table column to a form on another PHP page via HTTP?
Introducing Right, on your question it is important to understand some concepts to understand how data is trafficked via HTTP. HTTP has some methods, among them the most famous and most common are…
phpanswered ooredroxoo 731 -
0
votes3
answers27
viewsA: INNER JOIN between two SELECT
The approach will depend on the bank you are using, but in general the idea is to think of relationships. When we say that a bank is relational we say that it works with relationships, and contrary…
-
1
votes4
answers50
viewsA: Problem comparing java string
Hello, All right, let’s split up. About the return, every Java method that declares a return type must have a return, in this case this code below only returns something if it enters within the is,…
javaanswered ooredroxoo 731 -
1
votes1
answer34
viewsA: Use variables to define an object or not?
The answer as always Depends. Before deciding whether or not you need a variable you have to understand why you want the object. The goal of a variable is to store a reference to an object or value…
-
1
votes1
answer19
viewsA: Wordpress - Theme Customization
Hello @Anquim, In this case I believe we can see the customization part in four ways. You can create your custom theme by converting an html and css layout to a theme, this is usually done by…
wordpressanswered ooredroxoo 731 -
4
votes1
answer57
viewsA: Application closing when consuming json
In this line String[] objetos = new String[0]; You initialize an array of 0 positions. In java arrays have no dynamic size, it would be interesting to exchange this array for an arraylist. The error…
-
2
votes1
answer104
viewsA: User login site with his name on link
PHP Developer, One way to do this you want is to use Friendly Urls like the mod_rewrite apache, capture requests and pass them to a file, as most PHP frameworks do today. So when a user accesses for…
-
3
votes2
answers1376
viewsA: How to publish multiple Laravel applications on Shared Server?
Using an Apache server you can create Virtual Hosts, where you can redirect a server URL to be served from another directory as mentioned in this apache documentation # Ensure that Apache listens on…
-
3
votes2
answers4080
viewsA: Fill Second Input automatically when First
Yes, You should add a Event Listener in the input-1 of types Keydown (when the key is pressed but not released) or, Keyup (when the key is released) or, Keypress (when key is pressed) or Blur (when…
-
5
votes1
answer579
viewsA: How to create a default margin in the ckeditor?
The Ckeditor allows you to pass styles into the editor, if you are using version 3 you should use the following javascript code to add styles: CKEDITOR.stylesSet.add( 'estilos-personalizados', [ {…
-
2
votes1
answer56
viewsA: How do I modify a url with . htacess?
This article can help you URL Rewriting for Beginners. Using what is shown in the article I believe the following code can be applied. RewriteEngine On # Turn on the rewriting engine # Manda…
-
0
votes1
answer942
viewsA: Error 404 on Friendly Urls in Wordpress Reseller Locaweb Plesk
Some things have to be checked, among them WP needs a file. htaccess with the settings for the rewrite (the commands that the web server will use to resolve the URL, your permalink for example will…
-
0
votes3
answers3404
viewsA: Force popup opening on a website, after onclick, in javascript
As Marcelo commented you can using jQuery add a Reader to all elements of the page, this way no matter which element it click will open a popup, something like: $(document).on("click", function() {…
-
1
votes1
answer929
viewsA: Storing array in database without serializing
Solution 1 Gcanhete, the ideal is to review your database modeling, there should be a clean way to store the data in the database, preferably following the first 3 formal standards. I understand…
-
0
votes1
answer1185
viewsA: Use EJS with NODE
Marcelo, EJS is like Ruby’s ERB, using it in Node, you use it to add dynamic data to your views/templates, it allows you to run loops and the like and the result turns the file that will be served…
-
1
votes1
answer1087
viewsA: How to add a custom header in AJAX with pure javascript?
From what I saw the headers are being passed correctly, I noticed that when you receive some code other than 2XX type, for example 401, 404 or others Chrome displays the headers in this way: This…
-
2
votes1
answer79
viewsA: Add video to Moodle
Moodle 2.6 has a function of the $OUTPUT object called pix_url that takes the name of the image, however it would not work for the video, another option would be to use some variables and functions…
-
2
votes1
answer90
viewsA: Clock in Action Script
If your Flash is on a system with internet connection you can consume this API -> http://timezonedb.com/api it allows you to get the time from anywhere in the world (whether normal or in…
-
2
votes1
answer629
viewsA: Ruby on Rails does not save to bank
As spoken by Bernado Botelho usually when learning Rails a Rails controller has the following actions: - Action - Description #index - Shows all records #show - Shows only one record #new - Shows…
-
6
votes2
answers2798
viewsA: How to connect desktop and web apps?
In this case you will have several programs and not just one. You will have a web application that will be responsible for all logic and storage. Desktop clients (one can also have mobile clients)…
web-serviceanswered ooredroxoo 731