All Questions

3
answers

How to select several records with Checkbox?

I'm doing a facturer, and when it came to billing several products, it occurred to me to use checkboxs since I still have not gotten with JS , so is the code of the checkboxs : <?php require_once ("ModeloProductos.php");...
asked on 29.03.2018 / 04:57
1
answer

How to cancel the mutual exclusivity of an accordion in Bootstrap 4?

On the official Bootstrap page, an example of an accordion is included, which, we might say, is a specific case of a set of "collapse" elements. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKt...
asked on 22.03.2018 / 18:57
2
answers

Remove scroll bars when using overflow: scroll

I would like to know if there is any way to hide the scroll bars when I use the overflow:scroll command. They appear to me if there is overflow or if there is not and they are horrible to look at. I also get a bar for the horizontal overf...
asked on 30.10.2017 / 10:31
1
answer

Modify user

I have a database with 2 tables. A call sec_users with the following fields: pk_user login pswd Another table called solicitud with the following fields: pk_solicitud fk_usuario fe...
asked on 02.04.2018 / 11:10
3
answers

Create border of different palette or rainbow colors

I would like to know how I could create a border top of different colors. Place the reference image below.     
asked on 22.11.2016 / 17:56
3
answers

is there a way to work with sessions or cookies without a database?

Hi, I need to create a simple login form. I'm supposed to work without a database, and once the login accepts me, I redirect to the home.php page, but you can not directly access home.php . But they told me that it had to be done without a da...
asked on 16.10.2016 / 01:34
2
answers

How to return a record that contains several values separated by comma

I have this table in the database: Tabla de Ejemplo: id - registro - valor 1 - compras - 1,2,6 2 - ventas - 3,4 3 - deudas - 5 I want to make a query where I send only the number 3 and bring me the record 2 in this exampl...
asked on 18.08.2016 / 22:31
2
answers

Keep an Android service always alive

I've been trying this a long time, looking for documentation and different questions in stackoverflow but I have not found the key. I need to launch a service that does not die by closing the APP completely. I've tried @Override public i...
asked on 07.02.2017 / 19:05
2
answers

How can I protect my site from XSS attacks?

I would like to protect my site against XSS attacks of any kind, as I can do with htaccess or php.     
asked on 07.03.2017 / 08:16
2
answers

Is it advisable to declare and initialize a variable within a loop?

good. after solving this I exercise with this Answer I skip the doubt if it is a good idea to declare and initialize a variable within a loop. this is done in order to avoid writing i = 0 and of = "email_.txt" in the code....
asked on 01.10.2016 / 02:02