Questions tagged as 'php'

1
answer

Error in the function Walker_Nav_Menu wordpress

I'm trying to put a custom menu with wordpress and I'm using the Walker_Nav_Menu but when I put the function I jump a poster of Warning: Declaration of BootstrapNavMenuWalker :: start_lvl (& $ output, $ depth) should be compatible with W...
asked by 28.03.2018 / 14:08
1
answer

Redirect all routes of a REST API to the index

Hello, I happen to be creating a PHP REST API and I do not want to use a framework  but I have the following problem I want to create a request by the GET method in which I send the ID of a product to look for it in the database. That is:...
asked by 27.03.2018 / 14:03
2
answers

Perform UPDATE to a column

My FORM <form action="submits/submit_ocupacion.php" method="POST"> <input class="form-control" type="text" id="user_user"> <input class="form-control" type="text" id="user_ocupacion"> <button type="submit" name="ocup...
asked by 27.03.2018 / 09:57
2
answers

Is it possible to Ignore Variables in the URL when evaluating them?

I want to evaluate the url and what it contains to do different actions (all the urls written are redirected to the index) but eh arrived at a problem with variables ie a normal URL would be for example http://localhost/myapp/productos...
asked by 27.03.2018 / 16:22
2
answers

print this json?

How can I access the elements of this json? string(305) "{"puesto":"181","sexo":"Hombre","edad":"28","experienciaPuesto":"1","diasTrabajados":"Lunes,Martes,Miercoles,Jueves,Viernes","id":"6","idPromocion":"61,64,69,4","habilidades":"1,3,2","pa...
asked by 23.04.2018 / 19:00
2
answers

How to pass the value of a SELECT to the same page

I am passing variables of a select; through onchange, but the variables are passed from one page to another. this is my html and I'm on the page ejm.php: <body> <select name="miselector" id="miselector" onchange="enviar_valores(this.v...
asked by 18.06.2018 / 19:27
4
answers

Error passing variable from JavaScript to PHP

I'm trying to pass a variable from JavaScript to PHP, but I get an error that I do not understand why. The code I have is the following: <script> var dias = ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"];...
asked by 18.06.2018 / 17:29
1
answer

Change the 1 of a MAX CASE to an image in php

Let's see if I can explain friends, I have this query that I have managed to execute correctly thanks to you, I am working on postgreSQL and php, and so my table is built to show on the page in php <div id="tabs-8" class='panel'> sel...
asked by 07.03.2018 / 21:13
2
answers

How do I make the HTML form send email from PHP or something similar

It turns out that I'm making a website and I do not know how to send a php from the html form to send it to my email because it does not let me (or if there is an easier way, without php or something) I do not give any error but I do not send th...
asked by 12.03.2018 / 23:10
1
answer

Does not enter the driver

I have the following route Route::resource('mail', 'MailController'); Which I call in the following form: @extends('layouts.app') @section('content') <div class="content"> <div class="row"> @if (Sessio...
asked by 11.03.2018 / 23:28