Questions tagged as 'html'

1
answer

HTML PHP Multidimensional Array

I need to build a multidimensional array with an html table <!DOCTYPE html> <html> <body> <?php $ciutats = array ( array('Tòquio','Japó','Àsia'), array('Mèxic', 'DF', 'Amèrica'), array('Nova Yo...
asked by 21.10.2018 / 12:08
1
answer

Event click to print what's inside the JS script

How can I do so by clicking on the button? Try to print what's inside the script. This is what I have tried: <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>...
asked by 14.08.2018 / 20:30
2
answers

How to load a certain script depending on the width of the screen?

I have a website which is adapted for mobile but in certain points of interruption or break I need to execute certain Javascript. Example: I need that when the screen is greater than 992 px a'Click 'event is executed and if it is less than th...
asked by 14.08.2018 / 16:32
1
answer

doubt with form in HTML5 and PHP

I have the following form that I create with PHP: echo '<form name="frmCalificar" method="post" action="calificar.php">'; echo '<br>Calificacion:<input type="number" name="txtCalificacion" required/><br>';...
asked by 16.08.2018 / 07:05
1
answer

ENTER AdSense in the Head

How can I enter an Adsense within a Head? I already have the structure and the code that I am going to place, how can I implement it? <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script...
asked by 16.08.2018 / 13:35
1
answer

I need help with a sql that I'm doing in php

to show me the students who are enrolled in each course, by means of a table called registers, which contains the course id and also the user id, but I do not know if I have to call the data by variables of session? they help me <meta...
asked by 08.08.2018 / 14:35
1
answer

Obtain information from a checkbox on a table

I have a table where I fill in the checkbox, before I ask if the user is in a permissions table, in case he finds me he checks the checkbox and if he does not leave it for me. Here my table <table class="table table-striped" id="dataTable"...
asked by 07.08.2018 / 13:23
1
answer

How to execute a query number of times?

I'm doing a table in html and php, my problem is that I'm trying to execute a query ( insert ) 'n' number of times, I'm dealing with a for . This is my code so far <?php for($ca=1; $ca<25; $ca++){ $sqlc="inse...
asked by 17.08.2018 / 15:44
1
answer

How to show values with AJAX when loading the page

at the moment of entering my index.php page <!DOCTYPE html> <html lang="en"> <head> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.highcharts.com/highcharts.js">...
asked by 08.08.2018 / 20:31
2
answers

Double Scrollbar when opening a Modal

The problem is that 2 scrollbars appear, one of the modal and another of the body, I want to remove the body when the modal is active. This is my code: <div id="myModal" class="modal"> </div> .modal { display: none;...
asked by 06.09.2018 / 17:35