Skip to main content

basic-usage

Creating a Basic CRUD

This example demonstrates how to quickly create a CRUD interface using ArtiGrid.
In ArtiGrid, the modal is mandatory: without it, the add, edit functionalities will not work. It is not optional.

<?php

require 'ArtiGrid.php'; // load the library

$grid = new ArtiGrid();
$grid->table('million') // table database
->modal(); // active modal
echo $grid->render(); // render the CRUD
?>