Interesting questions
-
1
votes1
answer150
viewsMysql - Error performing INSERT with FOREIGN KEY
Hello, when performing an insert in the database Mysql returns the following error: ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`zabbix`.`tb_hosts`,…
-
0
votes1
answer55
viewsFill PDF checkbox with iText7
Hello! I’m trying to check a checbox of my PDF, but I’m not getting it right. Instead of just checking one of the checkboxes, he’s always checking all 3 What I would like: What I am getting: PDF in…
-
-2
votes1
answer107
viewsProblems with the CSS
I am new here and am programming in CSS,me problem is the following: I can do and place the codes normally in the sublime text, but when it comes to seeing the result in the browser it does not…
cssasked 10 years ago Paulo Henrique 3 -
2
votes1
answer115
viewsChrome auto page scrolling to select Multiple with selected option
When using the attribute multiple, the page when loaded, scrolls to the last <select/> containing a option with the attribute selected: Example in Jsfiddle <p>No Google Chrome a página…
-
0
votes3
answers311
viewsHelp escape special characters php
I’m having trouble saving special characters. I’m developing a system where the teacher needs to write an observation in a textarea. I am using the code below to save/update the observation field:…
phpasked 6 years, 11 months ago Pedro Paulo 67 -
0
votes1
answer37
viewsHow does the diagonal sum printf of a matrix
I’m having a hard time creating a printf that depends on the input. I want you to print depending on how many numbers you have diagonally in a matrix and display those numbers. EXAMPLE: You must…
-
-1
votes1
answer186
viewsError in ASYNC update method with Node.js
Unhandledpromiserejectionwarning: Unhandled Promise rejection. This error either originated by Throwing Inside of an async Function without a catch block, or by rejecting a Promise which was not…
node.jsasked 6 years, 9 months ago Felipe Carpes 1 -
3
votes1
answer152
viewsSubstring(string.Indexof) is returning unwanted parts
I’m capturing a music site. I would like to return only 2 artist information and the music. She is in this code snippet: <div class="nowOnAir"> <a…
-
17
votes2
answers3144
viewsIs there a REST specification for uploading files?
I’ve been having second thoughts about it for almost a month. In certain to my application, the user can upload to a file library. This upload needs to be recorded in a table called midias, where,…
-
0
votes3
answers448
viewsCall a preloader before sending contact
I have the following form and its validations. How would I call a gif (preloader) to the form at the moment the user clicks to submit. It should disappear when the ajax is completed. function…
jqueryasked 11 years, 3 months ago Felipe Viero Goulart 3,693 -
0
votes1
answer49
viewsLIKE with strange behavior in MYSQL
I have the following query SELECT p.nome_completo, p.id_pessoa, curr.link_video, prof.nome as nome_profissao, fav.id_favorito as fav_id FROM candidato as cand INNER JOIN pessoa as p on (p.id_pessoa…
-
0
votes1
answer43
viewsWhy does Navbar persist even after the page change?
I made a Flutter screen using Cupertino, which by clicking on the "drive" field would open a "Drive" screen to choose the drive, but the Navigationbar that was used on one screen is being passed to…
-
3
votes1
answer187
viewsThere is no variable c#
This is C#’s mistake, or I’m doing something wrong because in my logic it should work perfectly. public partial class Form1 : Form { Banco Bbanco; Bbanco = new Banco(); }…
c#asked 9 years ago rock.ownar 355 -
-2
votes1
answer102
viewsRoll anchor
Good morning, I am trying to make a clickable Dice with scrolling on my blog. But the code I made does not work when creating the page, it changes the url instead of going to the informed ID. What…
-
35
votes8
answers45010
viewsWhat is the difference between C# and ASP.NET?
What’s the big difference about ASP.Net and C#? I program in C# for desktop, but I can’t understand. C# para desktop (Windows Forms Application) is identical to the C# used in web programming? And…
-
1
votes1
answer170
viewsproblem when entering Unicode value into database
I am breaking my head with this since yesterday I have done everything to enter the value in utf8 but it is not working and the following I have this code as an example #!/usr/bin python # -*-…
-
1
votes1
answer64
viewsSwipe Refresh in api 15
I am making an application that uses Swipe refresh a lot, I would like to know how to implement Swipe refresh in Androids with api 15? If it is not possible how can I create the Swipe for android…
-
0
votes0
answers275
viewsEvent fires once more for each click
I was making a store application, in the application, when clicked on the product image, opens a modal indicating the quantity. This modal has a button submit to send the data in the database. By…
jqueryasked 10 years, 1 month ago programmer2016 545 -
3
votes2
answers144
viewshas_many through association [RAILS 3.2]
I’m having trouble with an association has_many, through on a project I’m working on. In case I need to model a relation that adds the attribute order to relation table. To try to model the…
-
0
votes2
answers135
viewsSend JSON Javascript data to PHP
I am trying to send data in javascript json format to php according to the codes below. However, the result of var_dump($_data) is always NULL. I tested the javascript activity array and it is ok,…