I have armed an array of this type:
$array =array('epc' => "$tag",);
When doing a print of $ array I get the following:
Array ([epc] => 1792) Array ([epc] = > 1792) Array ([epc] => 1212) Array ([epc] = > 1792) Array ([epc]...
I'm doing a system in php in which I have two tables in one save the records and in another the boxes where each record goes, the result is this way
-------- -------- ---------------
CASILLA SECCION REPRESENTANTE
-------- -------- -...
I tried to upload a profile picture using this code in php and it saves it in the path that I specify but it does not save anything in the database. I am working with wampserver and phpmyadmin .
The code I have is the foll...
I'm trying to do a query in mysql in several tables at once but the results that I get do not end up serving me.
This is the code I'm using:
SELECT
*,
art.id AS IdArt,
art.nombre AS NombrArt,
conf.Conf1 AS Sexo,
ean.id AS IdEan
FROM 'Ar...
Query generates this error:
Warning: mysqli_query () expects parameter 1 to be mysqli, object given
in C: \ xampp \ htdocs \ system \ my system \ my system \ consultas.php on line
90
Warning: mysqli_fetch_array () expects parame...
I have these two tables:
users:
+-----+----------+------------+
| id | nombre | apellidos |
+-----+----------+------------+
| 1 | juan | apellido1 |
| 2 | pepito | apeliido2 |
+-----+----------+------------+
subjects:
+----+--...
Running the ajax throws the POST 500 error. The php throws the problem if I define $columna= $_POST['columna']; but if I define by test $columna='marca'; the PHP works correctly and sends the information to ajax correctly. So I gue...
I am doing a search input using the event keyup in jquery, now if instead of input I use a select what event would I use or how would I do in that case?
This is the input
<input type="text" name="pedido" class="form-...
Good afternoon
Can this be done?
I have an apache server with an application developed in php (yii2), my "problem" is as follows, the app has validation by username and password, if you are logged in the system you can access a page where vid...
Well, I have the following data in a symfony form:
->add('lugar', EntityType::class, array(
'class' => 'AppBundle\Entity\Lugar',
'mapped' => false,
'query_builder' => function (Entity...