Questions tagged as 'html'

1
answer

Generate code aletaorously to an input

What friends can I do to generate a random code and show it in an input (it would have to be 13 digits) and that some format can be applied, for example that always start at 7 is for barcode and that This in turn does not repeat itself, and alwa...
asked by 25.10.2018 / 16:10
1
answer

div inside header does not appear at the top right

The div that shows "User: Anonymous" does not appear where I want, I can not get the div (inside a header) with id="divLogin" to appear at the top right in Chrome, however in Edge if. In Chrome as you can see it appears under the...
asked by 31.10.2018 / 16:46
1
answer

Adjust height of an image to a div

I'm doing a website for a project at my university. It turns out that on my website I had a background image with a size of 1920x1080 that took up the entire wallpaper but by reducing the height of the main banner to 75vh (before it was at 100vh...
asked by 06.06.2018 / 09:31
1
answer

HTML elements on full screen video

It is a theoretical doubt. I have an inherited application, which among other things shows a video about an iframe of vimeo. And on the video are showing questions and buttons for the answer in the bottom by a div. All this works well while the...
asked by 07.06.2018 / 14:51
3
answers

How to obtain value of a variable in another page [closed]

I want to get the value of a variable on another page some help I'm new, here is my code session_start(); include="conexion.php"; $query=mysqli_query($conexion,"SELECT * FROM productos"); while($row=mysqli_fetch_array($query)){ ?> //...
asked by 19.06.2018 / 15:47
3
answers

How to use the option value in php?

I have a drop-down menu, with 2 options: New customer and New product. What I'm looking for is that having selected a certain option takes me to a different form, in case I select "New Product" that takes me to a form where I add this info...
asked by 16.04.2018 / 00:01
6
answers

Change the input date format

I would like to know how to change the format of a date type input I have this input showing dd-mm-yyyy <p>Fecha <input type="date" name="fecha" required></p> But at the time of registering with php in my dat...
asked by 22.03.2018 / 15:22
2
answers

How can I show the null values as an empty column?

I have a template person_report and I need the values of this concatenation not to be shown as null when a pdf is generated. <td th:text="|${person.address} ${person.address_number} ${person.floor} ${p...
asked by 10.08.2018 / 20:33
2
answers

How to make the link take you to the same page

I have a vertical bar, which has several things, but in one it has to say "Products" and when you click it displays and leaves "Register Product" I want that by clicking on "Register Product" a form appears in the white part of the page that I h...
asked by 21.08.2018 / 21:20
3
answers

convert the result of a SQL query into an entire PHP variable

I want to store the result of an SQL query in a PHP variable but as an integer, this is my code: $maxnroviaje=mysql_query("SELECT MAX(NROVIAJE) from viajes"); $nroviajenew=mysql_fetch_assoc($maxnroviaje); and doing echo on those two variabl...
asked by 19.02.2018 / 02:45