Interesting questions
-
0
votes1
answer275
viewsHow to create Laravel search by taking data from the cache?
Since I have this data in a file I see no reason to make a request in the database. Example of my curly code: $produtos = Cache::rememberForever('produtos', function () { return…
-
1
votes1
answer51
viewsdialog with problem when using --item-help
I am facing problems when implementing a checkbox with dialog, on Linux Mint. What happens is that I use the option --item-help, the box box mount the checkbox wrong. dialog --title 'Seleção dos…
-
0
votes2
answers94
viewsjQuery selecting the element itself
Well I’m new in jQuery and I’m having a problem, as I do to select the element itself and not what is inside it, follows code: $('#add_phone').bind('click', function(){ var html = ''; html +=…
-
0
votes1
answer65
viewsConflicts in MS-Access
I have a table in an access database with the following fields: DATA | SALA | AULA1 | AULA2 | AULA3 | AULA4 | DOCENTE | TURNO ----------------------------------------------------------------------…
-
0
votes1
answer641
viewsDate Data Recovery - php + mysql
Hello, I am searching from the bank a data information in a grid with various information, I am doing so: $data = $tbdeliberacoes->getData(); date("d/m/Y", strtotime($data)); and this is my…
-
5
votes1
answer119
viewsProblem with display condition in Js
I’m trying to make parole with display: block; and display: none; but JS is not bringing the value of my element’s css display #slide. What’s the matter? var slider =…
javascriptasked 12 years, 1 month ago Rafael Alexandre 2,110 -
1
votes1
answer376
viewsTrying to get Property of non-object error while trying to access the Blade view in the Laravel
I am trying after a foreach to access the variable with the object array in the Slide but it displays the Trying to get Property of non-object error. I’ve tried with the "firt" but it only takes the…
-
0
votes1
answer43
viewsconsult and add BD result
I have a table (dia) receiving the data during the days: (id, dia, cliente, func, servicos, valor, produtos, valorp, fdp) (1, 2018-11-01, cliente1, func1, servicos1, 0++, produto1, 0++, D ou C) I…
-
-1
votes4
answers60
viewsAveraging
I am trying to make an average calculation between 2 values, but at the time of printing it is printing wrong, in what I am missing? var p1 = Number ('7.0') var p2 = Number ('9.3') const media = 2 /…
javascriptasked 7 years, 5 months ago Miyuki Fukagawa 29 -
0
votes1
answer22
viewsHow to enter a discount value based on a year variation? Example: >2010=7% and <2010=12%
I developed a program where the user will inform the year of the vehicle and then the program will display on the screen the discount for the year. I still need to add a way to ask if he wants to…
-
0
votes2
answers86
viewsNav-tabs is not visible in mobile
On monitor, works normal, but in mobile the Nav disappears. To test and see if it was not some script that was missing in my code, I downloaded an example of bootstrap with all the links a css e js…
-
0
votes1
answer280
viewsLaravel: Model-Form Binding Undefined variable
Greetings, I’m new to using Standard, and at this time I use Standard 5.3,I can’t edit any data in my database and I’m using Route Model Binding. The mistake you make is "Undefined variable…
-
-1
votes1
answer101
views<? php wp_head(); ? > = FIXED when scrolling in wordpress?
Hey, guys, I was wondering how I can get my menu fixed when I scroll the browser, regardless of the theme I’m using, until I’m using a free Customify theme and I saw that it doesn’t give me that…
-
-2
votes1
answer39
viewsWell I cannot capture the text when I click on option 3 only returns value 3. Help
echo " <td><label for=\"opcao1\"></label></td>"; echo " <td><input name=\"origem\" value=\"Azul\" id=\"Azul\" type=\"radio\"…
-
0
votes1
answer170
viewssubclass does not incorporate super class method
This is the first time I’ve had this mistake. I have the Class Loja that extends into several subclasses. problem is that subclasses do not "ask" the super method Shop: public abstract class Loja {…
-
2
votes1
answer412
viewsEntity framework with connection string via code
I am developing an application, and I need the connection string to be set in the code itself, because there can be no app.config file..
-
-1
votes2
answers61
viewsLoop while not working well - Hakerrank
I’m trying to solve the Hackerrank repeated string problem, where we should build a function that counts the number of letters a repeat in a string bounded by an n number. The function entries are n…
python-3.xasked 4 years, 11 months ago Yasmin Teixeira 47 -
0
votes1
answer106
viewsHow popular is Jcombobox with an array of strings?
I have a class that inherits from JFrame and has a JComboBox comboBoxPorta = new JComboBox();. I would like to popular this combo with the serial ports. I have a function in another class to print…
-
20
votes3
answers523
viewsWhy does C array[6] equal 6[array]?
Note: Question I saw in ONLY in English, but I found it interesting to put here (because we still don’t have many questions of C): Because in the C language, this code prints "true"? #include…
-
0
votes1
answer93
viewsConnection with 3g unstable locked in C#
I have a system, which uses a table in mysql to check if there is an update for it, It happens that at certain times, it is necessary that the modem is reconnected so that the system can do these…