Questions tagged as 'html'

1
answer

Do not insert all my records (type Time) in PHP AND MYSQL

I make a form which is a schedule for workers, which contains shifts, time of entry, time of departure and day for the assignment. The problem I have is that I insert the shift and the day in my BD but the time of entry and exit in my BD...
asked by 23.02.2018 / 04:51
1
answer

Fit logo in header

I want to make a header that has the logo on the left and then put three lines with: Name of the person, Specific data of the person, Three buttons: phone, mail and whatsapp. But I have several problems: I want the logo to fit the...
asked by 07.03.2018 / 23:54
2
answers

See if element exists in the php database

I'm trying that when the user leaves the focus of an input text it shows if that value already exists in the database or not, but it always throws at me that it exists. (The request goes through a controller but I omit it here), I feel that the...
asked by 15.02.2018 / 21:18
1
answer

Show full iFrame

Good I have a query to a BD and I show it in iFrame the problem is that sometimes returns 100 other lines 2. And I want the div to change size according to the lines ... If someone could look at it to see what's wrong .filt{...
asked by 27.02.2018 / 10:31
1
answer

Show mysql data in a table with php

I have an input where I put a query and it returns the data of the query, but I want the data that I returned to be in a table so that they can be visualized better. Nowadays I get something like this: first name first name last name first na...
asked by 17.02.2018 / 12:12
1
answer

Change properties of div with JS

I need that when selecting in the select with id='numplacas' the value 2 shows the div that is hidden , it is displayed, in the case that the value of the select is 1 that adds the class hidden to div with id='placa...
asked by 13.02.2018 / 16:25
1
answer

Datatable Format after Reloading Data

I have this dilemma with Datatable. I load the data in the datatable and initialize perfectly with this code: $(document).ready(function () { $('.table').DataTable({ sScrollX: false, dom: 'Bfrtip',...
asked by 12.02.2018 / 15:48
1
answer

Empty list after having filled in javascript [duplicated]

Hi, I have the following function in Javascript that is executed when the document loads, I am trying to fill the array lista but every time I want to show it with a console.log or an alert (except the console.log inside the foreach, th...
asked by 14.02.2018 / 16:41
2
answers

Delete data mysql php [closed]

I have a table made where it shows me records of a database in mysql.In the table for each record is created a button that is called delete and what I want to get is that by clicking this record is deleted. I have this code made in usuarios.p...
asked by 10.02.2018 / 17:18
1
answer

Show data to logeados users PHP

I'm making a web page where I have a login and when you log in it takes you to a file called user.php What I want to achieve is that only logged-in users can see the contents of the user.php file I want to avoid that in the search engine of the...
asked by 10.02.2018 / 12:18