Questions tagged as 'html'

1
answer

Maintain value in inputs

I need your help, what happens is that when I enter the month and year in the inputs and I click on the filter button, the page reloads and the inputs are empty and I need them to stay there. <?php if(isset($_POST['search'])) {...
asked by 10.09.2018 / 03:52
1
answer

Problem when opening txt hosted on server

The fact is that I have a website where I have a link where when I press it, a txt that has several lines is downloaded, for example, it is like this:    123455       456789       234566       234354 But when you download it and open t...
asked by 20.08.2018 / 10:47
3
answers

Null value in MySQL with PHP

Ajax is used to insert data, and although at the time of inserting, it works correctly, the problem is when they are inserted in null. It should be noted that the data to be inserted is of the date type in the database. when inserting an e...
asked by 20.09.2018 / 17:39
1
answer

how can I restrict offensive words in javascript

I have a question: I want to restrict offensive words captured by localStorage in javascript, how can I do it? Currently my code is as follows: /*Funcion de Capturar, Almacenar datos y Limpiar campos*/ $(document).ready(function(){...
asked by 25.09.2018 / 17:26
4
answers

Margin on the right side of the page

I added 3 images and created a margin of blank space on the right side of the page, as shown in the following screenshots: Why does that happen and how can I solve it? I upload the code, although when running here it does not show...
asked by 07.08.2018 / 06:26
1
answer

Replace data from an array with a new PHP

The exercise I am doing is to make an interface of a theater which contains 5 rows and 5 seats or chairs. the user can make a series of actions between which they are Book, Release and Buy ("R", "L" and "V"). Well the problem is this: w...
asked by 18.07.2018 / 23:10
1
answer

Obtain visitor's IP

I tell you my problem. I have started to make a program to obtain the IP of a visitor and send an email with this information to a given email. After searching the internet for several functions and inverting the theme I have not managed t...
asked by 06.11.2016 / 01:11
2
answers

Does it really work to specify a margin and a padding to 0 initially?

I have seen that it is very common that as soon as you start the css, many files start with: *{ margin: 0; padding: 0; } Used in theory so that all elements have no padding or margin. Does this really work? Because I have had many t...
asked by 26.04.2018 / 07:28
3
answers

Show or hide items depending on two radio buttons

I have managed to show a div according to the response of a radio button , but how can I do to show the same div but with the combination of two radio button ? I share my code: function mostrar(dato) { if (dato == "...
asked by 03.07.2018 / 12:43
2
answers

Change the opacity and styles of different divs when the mouse passed over

What I want to do is when I hover over the div with class "pilot tetsuta" go to be like background (that is, play with the opacity as I say in the title), and the div with class "about-tetsuta" becomes visible, occupying a...
asked by 30.08.2017 / 12:19