Questions tagged as 'html'

1
answer

How to check and uncheck all checkboxes at the same time by pressing a button

I need this function they could help me. From already thank you very much. This is my code: include('conexion.php'); include('bloquedeseguridad.php'); $query="SELECT identificacion as cedula, id as id , nombre as nombre, telone as telefono, te...
asked by 15.11.2017 / 14:12
2
answers

count two fields of a table in php sql

I have a table called matriculas_2018 and two fields one of courses and the other of specialty . I want to put an accountant that tells me how many students of the THIRD-AVERAGE course correspond to the ADMINISTRATION specialty and a...
asked by 14.12.2017 / 16:09
3
answers

Event click on just the element clicked

My problem is the following, I need that when clicking with an mouse on an html element, the click event is executed only on the element clicked and not that it is executed in the other elements that share the same call. I could n...
asked by 22.11.2017 / 16:58
1
answer

Problem with game Pong: the AI is not fluid [closed]

I have developed a Pong game that has the following code (commented): //declar dos variables, canvas va a manejar toda la informacion de las dimenciones del area y canvasContext va a tener la informacion grafica como circulos triangulos...
asked by 28.12.2018 / 21:19
1
answer

Scrip to fill in 2 related database tables in Laravel

Good morning, I am currently doing a system to manage a library and I am looking for a method to fill in two related tables, for example: I have in my database the table books and the table authors both related by their respective id. Indivi...
asked by 06.12.2016 / 00:36
2
answers

Notice: Undefined index: CodUsua

I made a button which, when pressed, sends me to the top of the site and when I press it I get the following error    Notice: Undefined index: CodUsua in C: \ xampp \ htdocs \ LF \ html \ profile.php   on line 236 This is the code: <...
asked by 17.08.2017 / 02:46
2
answers

Have two open sessions?

I want to have two open sessions. One to save user data and another to save shopping cart data. It may or may not, try to rename the session but it still does not work. EDIT: In this part of here I try to save the id of a product in the...
asked by 30.07.2017 / 22:59
4
answers

Page loses styles

Someone could help me guiding me on how to know which is the problem for which my page loses the css style ... is a news page that I am creating, uploads data through Ajax when doing scroll until the end, infinite scroll type, it worked fine, bu...
asked by 18.11.2017 / 18:49
3
answers

mysql query with php form variable

Error: Part of the PHP code: //Habiendo conexión, la base de datos puede no existir o ... mysqli_select_db ($conexion, $basedatos) or die ("No se encuentra la base de datos"); mysqli_set_charset ($conexion,"utf-8"); //Haremos una consul...
asked by 04.11.2017 / 18:21
2
answers

Difference between HTML object and JAVASCRIPT object and how to access and give attributes to javascript objects

// //GLOBAL VARIABLES var box = document.getElementById('game-board'); var cardElement; var cardsInPlay= []; var cardNodes = []; var random; var cards = [ { rank: 'king', pic: 'images/king-of-diamonds.png', }, {...
asked by 07.12.2017 / 16:14