Skip to content

Instantly share code, notes, and snippets.

View guazontsubasa's full-sized avatar
👽

Leandro Pocai guazontsubasa

👽
  • Argentina
  • 09:59 (UTC -03:00)
View GitHub Profile
@guazontsubasa
guazontsubasa / datatable-server-side-order-by.php
Created April 4, 2022 02:41
Datatable order by server side
<?php //listar flota vehicular
if (isset($_POST['start'])){
require_once 'app/flotas/automotores/domain/automotores.php';
$columnas = [ 'RO', /*'ALERTA',*/ 'TIPO', 'DOMINIO', 'MARCA', 'MODELO', 'AÑO', 'ORGANISMO', 'ESTADO', 'ACCIONES' ];
//LÍMITES
$entre = $_POST['start'] + 1;