All Questions

3
answers

Insert records in the form of a table

Good afternoon, I am working on a restaurant system in C # using Windows Forms, which is the part of taking the order: What I want to achieve in inserting this order in table form in SQL SERVER In the following table: and how I...
asked on 28.09.2018 / 00:46
4
answers

Convert a value obtained in Hours: Minutes: Second to Hours: Minutes

Hello, I currently have a value obtained that gives me in Hours: Minutes: Seconds what I want is to Convert it into Hours: Minutes //Valor Obtenido por el id var HoraActuales = $('input:text[id=COMD_FECHA]').val(); console.log(HoraAc...
asked on 05.10.2018 / 18:06
2
answers

Hide and show div effect

Hi, I have this script in js that adds a class to those two classes to change the style when you click on the div that has the class boxesLetras. The question is I want to remove the alphabetical class that is what I put when they click on an...
asked on 12.12.2018 / 14:07
2
answers

How can I sort this table mysql

I have the following table where I sort by prioridad and id_agenda , the order should be as follows Priority ASC and id_agenda DESC (In case a data does not have priority so it must go below the if it has priority). sql...
asked on 26.10.2018 / 14:33
2
answers

What are the models for Laravel 5.3 for?

Excuse my ignorance. I create the models in the following way: php artisan make:model Marcas -m And the model I leave it as it is created: namespace App; use Illuminate\Database\Eloquent\Model; class Marcas extends Model { // } I...
asked on 14.01.2017 / 22:32
3
answers

Help with nested Javascript functions

I have a page that loads a Javascript and contains this: (function(f) { function qb(a) { var b = g.sockets[a]; b.onopen = b.onclose = b.onmessage = b.onerror = function() {}; for (var d = 0; d < b.events.length;...
asked on 06.12.2016 / 21:35
2
answers

javascript function replace

From the following function, how do I substitute blank spaces with hyphens? <!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8" /> <title>Ej funciones</title> </head> <body> <script...
asked on 25.10.2018 / 18:21
2
answers

validate data when selecting an option in a combobox

I have a select with the following data: <select name="entidad" id="entidad"> <option disabled selected>Seleccionar Entidad</option> <option>TODAS</option>...
asked on 02.04.2018 / 21:46
3
answers

Bring information from one activity to another

My project consists of a student agenda which can have different users per device, I want to take the ID of who enters (in the login ) and pass it to my second activity ( navigation drawer ) and with this to replace the title generat...
asked on 18.01.2017 / 05:40
3
answers

Warning message in PHP when not finding records

Good day, I have a page that searches for me in a table that I have in mysql, the question is .. If I do not find any record that I have to put code and where to get a notice like "No records found?" I enclose the code that performs the sea...
asked on 26.03.2018 / 20:00