Questions tagged as 'html'

2
answers

How do I save an array in the column of a database record, using PHP?

I'm doing it in the following way but in the bd it keeps me "array" and not the fix, can you help me please. <!DOCTYPE html> <html> <head> <script type="text/javascript" src="getmapa.js"></script> &...
asked by 30.06.2017 / 01:14
2
answers

Prevent a user from registering with an existing PHP SQL mail

Good, I recently re-programmed and I have a problem that is as follows: I have a database with the users table. that this table has mail, password, nick, photo_profile and id, the problem is that when registering users in the database, I can not...
asked by 30.06.2017 / 12:52
3
answers

Calculate existence

I'm doing a module that tells me the number of templates that have delivered a total of 100. I want that when entering a number in ENTREGADAS I subtract in NO_ENTREGADAS that is worth 100, that is: Example:  - if% co_of% is w...
asked by 23.06.2017 / 15:29
2
answers

Copy select value to input with PHP

How to make a select created with PHP send its value to a input created with PHP? Of this select : <th>Proveedor</th> <td> <select name="prov_id" id="prov_id"> <?php if (cou...
asked by 23.06.2017 / 22:04
1
answer

how to avoid sending empty fields in html with php

<table> <tr> <th>Nombre</th> <td><input type="text" name="nombre"/></td> </tr> <tr>...
asked by 29.06.2017 / 17:44
2
answers

detect tabindex

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"&g...
asked by 14.06.2017 / 21:47
2
answers

Problem with ORDER BY: DESC

Good, I have the following problem, that I have a social network where people can post things and send messages, the thing is that by doing select of all publications and show them the order by UNIX_TIMESTAMP (data) DESC does not w...
asked by 14.06.2017 / 13:56
2
answers

Get data from MySql to a drop-down list (select option)

I have this code for a select option and it consults the database and brings me the logged in user, but I need to list all the users that I have in the database. I'm not even storing it in the database when choosing the only user that brings...
asked by 15.06.2017 / 18:09
2
answers

How to fill an html element with an image?

Good morning! I'm doing the front-end of a web app, and I'd like to fill in the buttons and nav-tab with images. What would be the attribute, or the appropriate CSS rule, for the image to "stretch" and adapt to the size of the object? The idea i...
asked by 16.06.2017 / 13:31
1
answer

"Like" counter without PHP? [closed]

I've been researching lately on this topic in specific and the truth, I have not come across anything or anything like what I'm looking for, I'm new to server programming, and therefore I'm giving myself the task of make a clean site without PHP...
asked by 19.06.2017 / 04:22