slot gacor
slot gacor
Many-to-many relations - Bootstrap 4.5 theme - eXtended CRUD & Data Management System
DEMO SITE v1.7.28

Many-to-many relations Bootstrap 4.5 theme

Many-to-many (FK) relations can be displayed as simple multiselect fields. This method changes only fk table.

HIDE CODE
<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('customers');
    $xcrud->columns('customerNumber,Customer orders,city');
    $xcrud->fk_relation('Customer orders','customerNumber','customers_orders_fk','customer_id','order_id','orders','orderNumber',array('orderNumber','orderDate'));
    echo $xcrud->render();
?>

Customers

Add
#CustomernumberCustomer ordersCity
Actions
110310180 2003-11-11 00:00:00Nantes View Edit Remove
2112Las Vegas View Edit Remove
3119Nantes View Edit Remove
4121Stavern View Edit Remove
5124San Rafael View Edit Remove
6125Warszawa View Edit Remove
7128Frankfurt View Edit Remove
8129San Francisco View Edit Remove
9131NYC View Edit Remove
10141Madrid View Edit Remove
Search
 
slot thailand
slot thailand slot gacor
slot gacor