Questions tagged as 'php'

3
answers

SQL query in PHP with LIKE

Good morning, I'm doing the following query in PHP, do not send me any errors but do not throw anything at me as results. $sql = $conn->prepare("SELECT Nombre, Campania, Puesto, Turno FROM usuarios INNER JOIN campania ON usuarios.IdCamp...
asked by 25.05.2017 / 18:06
1
answer

Add radio input to a table horizontally

Good afternoon, I have a table with some static and other dynamic data that it retrieves from the BDD as shown below: Now what I need is to add some radio-type input but in a horizontal way because if I add them vertically I would only all...
asked by 25.05.2017 / 21:26
1
answer

jsTree, how to load child nodes on demand

I am using jsTree (3.3.2) to show a hierarchical structure of entities. The way I have it configured is to load the json with the complete structure taking as root node the node to which the authenticated user belongs, but it really is not funct...
asked by 01.04.2017 / 15:43
3
answers

Problems with php mail ()

This is my code, it seems to be running, but I do not receive any mail, I am running on server with windows, php 5.3 <!doctype html> <html> <head> <title>Pruebas</title> <met...
asked by 25.05.2017 / 22:37
1
answer

I have problems with a query in mysql help!

Hi, I'm doing a library system programmed in php and within that system I have a search engine to view the books. The program already does a basic search and shows results but some fields no longer correspond, the problem or rather the question...
asked by 17.03.2017 / 03:51
2
answers

Why are Divs not shown inside the DIv?

The problem is that the DIVS that the shekel gives me does not show its text but the block and outside the div of Category as seen in the image Index.php Esto esta dentro de una function yo trabajo con plantillas de php //Dentro del cue...
asked by 10.03.2017 / 22:05
1
answer

Display content in the correct category

I'm doing a web with ACF, and I'm having complications in how to create a loop so that a part of the content is only loaded on the page of categories with the slug: "rates-all". To do it, what I did was create a Custom field (a slider) and I...
asked by 15.03.2017 / 11:59
1
answer

fill fields of a form with data from a mysql bd when selecting a select

the idea is that by clicking on any option of a select depending on this I fill in the fields of my form I am working with php, mysql: this is my select <select name="ruta" id="ruta" class="form-control" onchange="showService(this.value)"&g...
asked by 06.03.2017 / 20:01
1
answer

Redirect with or without bar (/) slash at the end in Codeigniter

I use the codeigniter framework for development, the problem is that I have the following url http://localhost:8080/proyecto/index.php/home/ , with this url everything works from 'wonder' everything is loaded correctly, but if I use this u...
asked by 13.03.2017 / 13:37
1
answer

How to see the most recent entries of my blog on the main page?

What happens is that I have a website in which I have a blog in wordpress, and what I want to do is that the most recent entries are displayed on the home page of my site, but I do not know how to do this , I hope you can help me.     
asked by 13.03.2017 / 15:15