Updated
I have a memory overflow problem in a layered architecture, the development has been going on for several years and they have tried to optimize some parts but the main problem lies in the Instances of the classes in the sub-layers...
I want a drop-down menu only to be able to see the links to the sites to which you have permission. For this I apply a variable with the function SESSION and if it is one level or another I indicate that you can see or not see the menu....
I am trying to make use of the prestashop webservice to make a complete order. I have developed a module and I have successfully tested it in a locally installed store.
I have the problem when implementing the same module in the real store. I...
I am implementing several modal windows through Bootstrap. One for each different thing. I have done the test to load different data in the same modal window.
I explain ...
I have one to pick up favorite users, another for followers and...
I have tables which will have millions of records in them. What is the best way to create the unique ID of these tables?
According to MySQL, there is the use of AUTO_INCREMENT, but at a certain number of registers it slows down each time....
I have a problem inserting dates in a table column mysql .
I've already tried putting the field as varchar , date , datetime and nothing.
$fecha_ant = date("Y-m-d", strtotime("-3 day")); // with this I get t...
I have a conection.php that connects to the DB and queryTickets.php :
<?php
header('Access-Control-Allow-Origin: *');
date_default_timezone_set("Chile/Continental");
**// Including database connections**
require_once 'conection.ph...
I'm migrating to the database with a lumen, and I get the error that the primary key is too long. What I want is to put the three columns as composite keys.
public function up()
{
if(!Schema::hasTable('asignaturas_alumno')){
Sch...
Can I store the result of a query in a variable and use the value in another query?
//consulta que quiero hacer primero
$consulta_pre_has = "SELECT
MAX(Prod_Pres)
FROM productos";
//hago la consu...
I have a form with four selects, the selects send data using a POST method to a page called prices.php, once there, prices are calculated and an integer is returned indicating the price.
The thing is that I would like to show the result insid...