Interesting questions
-
0
votes1
answer34
viewsFunctions in HEREDOC PHP
I’ve been trying for a while but I can’t get the expected result, follow the example: <?php $titulo = "Título"; $foo = "foo"; function foo(){ $i = 1; while($i <= 10){ echo $i++; } } echo…
phpasked 5 years, 12 months ago user106463 -
7
votes1
answer230
viewsLoop overload with use of foreach
Ola I am having a serious problem at least and what the aqual hosting company this my site is claiming that my code below is overloading the queries or performing various loops, and do not know more…
-
0
votes1
answer121
viewsHow can I turn the entire text content into c#
How can I get a file .txt and turn it into a chain of integers? My program has to take the matrix that is inside the file .txt and put inside a matrix in the program so I can manipulate the data…
c#asked 8 years, 10 months ago Kevin De Bortoli 67 -
-1
votes1
answer93
viewsImport a js library into Vuejs
I’m having trouble importing the js libraries in vuejs I’m always getting the following error on the console. I am loading them in the index.html file of the public folder <script…
-
0
votes0
answers42
viewsPopulating select via the other select option
I have a system made in Cakephp. I have 3 selects in one view: One to list stocks; One to list the locations of the stock (A stock can have several locations); And one to list the products you have…
-
1
votes3
answers843
viewsHow to extract a specific text from a string via Javascript
Question related to how to remove only part of the text that is after my tags p: and r: I am developing an application similar to chatbot simsimi and for test questions I am storing the questions…
-
1
votes2
answers100
viewsString compilation problem in C
I’m trying to compile this code into C: #include<stdio.h> #include<string.h> #define tam 100 typedef struct TipoAluno{ char nome[50]="A"; char curso[50]="B"; char cota[50]="C"; int…
-
1
votes1
answer122
viewsappend com jquery
I have a table that opens in a pop up for the material search of a material request registration, on the page (without being the pop up) has another table that when I add a material that was…
-
0
votes1
answer216
viewsHow to view user data on a page through ID?
I am developing a website where the administrator can view the registration data of all users who are registered in the system, and this data is displayed in a table. The table only displays some…
phpasked 7 years, 8 months ago BlackM00n_ 3 -
1
votes1
answer375
viewsHow to return the total amount when using OFFSET and FETCH NEXT?
I had to use OFFSET and FETCH NEXT to return a data range between my query. Table CREATE TABLE [dbo].[Usuario] ( [Id] [int] IDENTITY(1,1) NOT NULL, [Email] [nvarchar](max) NULL, [Nome]…
-
0
votes1
answer59
viewsProblem in the organization of the data of a Listview - Basedapter
I’m having a little problem organizing the personal data of an external Mysql database. Like, I created a Infopeoplesdapter class inheriting from Basedapter where I pick up name, address,…
-
2
votes0
answers329
viewscorrect sql query does not work in php
I have a query, where this query works perfectly in mysql Workbench, but in php does not work. $dados = explode("-",$ids); $sql = "SELECT prt_produto_item.nome as nome_item,…
-
2
votes0
answers186
viewsHow to list all parameters of a report automatically in SSRS?
Problem I need to generate a report usage log with the user, report name, usage date and selected parameters. Most of the fields were obtained using the Built-In Fiels. However, I cannot get a…
-
3
votes1
answer188
viewsDoubt Inner Join, left Join mysql
I am working with the following tables: CREATE TABLE livro ( Id_livro int NOT NULL, Nome_livro CHAR(40) NOT NULL, Pg int, Edicao int, Editora int NOT NULL, Assunto int NOT NULL, Preco decimal (5,2)…
-
1
votes0
answers110
viewsJoin two df using the sqldf function
I’m trying to put two tables together using the same species id, but I’m not getting it. Below follow the steps: Importing the fixed file to TNRS for R hp<-fread('tnrs_final.txt', header=T) Now…
-
0
votes1
answer416
viewsIntersection between same table, auto relationship, mysql with INNER JOIN
Hello, I’m making a facebook clone database. I have two tables, one of users and another friendship. The friendships table is a self relationship of users as shown in the image. This table of…
-
1
votes2
answers912
viewsHow to display an upper triangular matrix?
Write a program that prints a 10x10 matrix that is triangular higher, that is, the elements below the main diagonal are null (or zero). Until then I managed to do this: for linha in range(10): for…
-
-2
votes2
answers1113
viewsIs it possible to generate a JSON file with Javascript?
I had done a PHP project that dealt with JSON data, where I could create new files with data or overwrite existing ones. Now I want to redo the project using Javascript, however I did not find any…
-
-2
votes1
answer21
viewsHow to customize Jwplayer with Javascript functions
Could anyone tell me how I can supplement my Jwplyer code to perform the following updates. Add a function that saves the running time of the video in a cookie file using Javascript valid for 2…
-
3
votes1
answer498
viewsPass the execution of a particular method to Swingworker as argument
I have a small application on swing, where I would like to display progress when certain actions are executed As an example, I have the listener below that is run when a JComboBox is changed. It…