I'm developing an application in Laravel, at a certain point I had to use an array of objects to store the information that is going to be sent to the server, the problem I'm having is that I build my array but at a certain point that the array...
I am making an order form, in which I include a button that says: "Add Additional", that displays a "Modal", when filling in these fields, a button that says, add to the order.
What I try, is that when adding to the order the established data...
I try to create a search form in the following way:
By default, the order history appears:
$(document).ready(function(){
$.ajax({
type: 'POST',
url: 'php/cargar_historial.php'
})
.done(function(listas_rep){
$('#historial...
Let's start with my file called "registro_test.php"
<?php
include_once 'header.php'
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
$(function()...
I'm trying to make an AJAX request to a method in my Brands driver.
const filter = () => {
let data = {marca:"a"};
fetch("www.algoalgo.com/marcas/marcas/filtro",{
method: "POST",
body: JSON.stringify(data) ,
headers: {
"...
What happens is that I grab a page already on the internet, and I want it to make a search in the box, a specific search within what is already filtered.
//Filtracion
$sWhere = "WHERE nomTipo ='Administrador'";//filtra los que solo son a...
How can I do the following:
I am sending the data from a tr to a modal in the following way:
<span id="Id<?php echo $res['id']; ?>" style="display: none;"><?php echo $res['id']; ?></span>
I pick them up in the mod...
at the moment of entering my index.php page
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.highcharts.com/highcharts.js">...
I have a form and in which I enter 1 Email which in my BD I put the field as Unique the problem that arises is when reloading a record with the same email I get the SQL error that the field is already registered, but I would like to be able to v...
the following php code that generates two arrays
<?php
//los datos salen de una tabla mysql
$last_year_sales = [2589, 2589, 1478, 2587, 7852, 9632];
$current_year_sales = [1250, 1480, 1156, 3589, 7521, 9632];
//enviar...