Questions tagged as 'php'

2
answers

Select with description

I would like that when selecting a field in the form with a Select the description of the acronym would come out, which I already got, what happens is that I would like the description not to enter the ID of the field, ie , if I se...
asked by 24.07.2017 / 10:18
2
answers

problem when performing update mysqli php

I have a problem with the update with php and mysql, it does not work, and it does not update the values of the bd table. The code is as follows: html: <form action="actualizar.php" method="POST"> <h2><em>Actualizacio...
asked by 24.07.2017 / 11:34
1
answer

No data sent by post in php

Hello friends, my problem is very simple I have this in my html form that I sent through the form with post method <form method="post" action="../Clase/RegistroCrud.php"> <div class="container-fluid"> <div...
asked by 21.08.2017 / 19:34
2
answers

Count always returns 1

I have a form in which the user and password pass by post. I do a count to verify that the user exists, the problem is that he always returns me 1. <form action="welcome.php" method="post" role="form" id="login-form" autocomplete="off">...
asked by 21.08.2017 / 20:50
1
answer

How can I display the data of a PHP query in an HTML table?

Greetings, I have the following problem, it turns out that I am making a query to my database with different fields, and I am getting the results as follows. while($fila=mysqli_fetch_array($resultados, MYSQLI_ASSOC)){ echo "<table clas...
asked by 20.08.2017 / 05:13
1
answer

Resize image with a fixed height

I'm looking through the internet and found several examples of how to resize an image, but I do not know how to resize an image with a fixed height and that the width adapts proportionally to that height. I thought it would be an easy thing t...
asked by 21.08.2017 / 16:40
1
answer

Filter a query using the option selected in INPUT SELECT

I am wanting to filter queries through what I select in a SELECT input, because I need to make queries through different options (CEDULA, NAME, LAST NAME, AGE, ETC ...) They recommended me to use OR for that, but it is not just what I nee...
asked by 21.08.2017 / 03:11
1
answer

Find a value within a PHP array

Someone around here must have done this before. I want to look for a value within an arrangement, well my structure is something I have two associative arrangements and I want to search in one of them, so that my code is better understood here....
asked by 07.07.2017 / 21:49
1
answer

Paint cell of a php dataTable

I have a problem that I have not been able to solve. I have a table with 3 columns. Nombre | Nota | Rango | ------------------------------- Pepe | 5 | Excelente María | 3 | Bueno Luis | 1 | Malo I...
asked by 09.07.2017 / 01:07
1
answer

Group an array with two values (PHP)

I find myself arranging an arrangement and I must order it by two of its fields in this case 'ppu' and 'sense'. Achievement regroup it by ppu, but I can not do it for both. Example of the arrangement Array ( [id] => 1 [num] =>...
asked by 22.08.2017 / 19:34