Questions tagged as 'html'

2
answers

Redirect to another url depending on the referer

I have this code in the index.php of a domain: <?php if (isset($_POST["redirect"])) { $hash = $_POST["redirect"]; if ($hash !== "") { $origen = isset($_SERVER['HTTP_REFERER']) ? $_...
asked by 18.05.2018 / 23:56
2
answers

Align to the right NAVBAR in bootstrap 4

I would like to line up Bootstrap 4 the browser to the right. By default it is left, I tried in several ways but I could not, here I leave the code. <body> <header> <nav class="navbar navbar-dark">...
asked by 03.11.2016 / 20:59
2
answers

get all the values of a select when loading the page

I have the following code, it turns out that I want to capture all the Values of a Select hidden once the page is loaded in Html , capture them in Javascript and send them by means of a JSON to the controller of 'laravel....
asked by 28.03.2018 / 23:45
1
answer

Because div occupies the height: 100% without indicating it

Because the div with class iconmas occupies me in height 100% without saying it, I only indicate padding 0 0.5% .padre { position:relative } .ttcategoriax { position: relative; width: 100%; } .ttcategoriax p {...
asked by 05.03.2018 / 23:52
1
answer

call of a function from another php file

$bd= new DB(); $conectar = $bd->conectar(); function extFolio($folio) { $query = "select FolioParticipanteCG from participantes where FolioParticipanteCG = '".$folio."'"; $folio=mysqli_query($conectar,$query)or die("Error al selecci...
asked by 07.06.2018 / 20:26
3
answers

my slideshow is mounted to my menu in HTML

I am developing a web page. This has a menu and below it there is a slideshow but at the moment of squashing down the slideshow is superimposed on the menu and I do not know why that happens. ccs CSS DEL MENU: * { margin: 0; pa...
asked by 23.02.2018 / 17:00
1
answer

Pass dynamic array by AJAX

EDITED I am trying to send the following data with AJAX var datosInsert = JSON.stringify({ 'datosCarga': valoresEntrada, //[1,2,3] 'loteCaja': fieldLote, //101 'cajaLote': numeroCaja //1 }); $.ajax({...
asked by 21.02.2018 / 00:11
1
answer

redirect view with @if in laravel

I am trying to redirect to a view in laravel if the user fulfills a membership (membership = stage), but this only returns text to me instead of the view, my code is as follows: @if (Auth::check()) @if(Auth::user()->etapa == 1) @retur...
asked by 14.06.2018 / 04:02
2
answers

Insert data with iteration in php

I have the following function in the model that I want to enter in the database: public function agregarBolsasModel($datos, $tabla){ $stmt = Conexion::conectar() -> prepare("INSERT INTO $tabla(lote, caja, bolsa)VALUES(:uno1, :dos2,...
asked by 21.02.2018 / 04:17
1
answer

Selecionador Default option of a database

I have a table "put" this table contains the following fields id puesto 1 empleado 2 director 3 programador already having the ID correcpondiente to the user and the data contained by a submith in $id = $_GET['id']; I want my se...
asked by 09.08.2018 / 18:44