Columns & Fields

[xcrud]    
    $xcrud = Xcrud::get_instance();
    $xcrud->table('customers');
    $xcrud->columns('customerName,phone,city,country'); // columns in grid
    $xcrud->fields('customerName,creditLimit,salesRepEmployeeNumber'); // fields in details
    echo $xcrud->render();
[/xcrud]

Customers

# Customername Phone City Country  
1 La Rochelle Gifts 40.67.8555 Nantes France
2 Baane Mini Imports 07-98 9555 Stavern Norway
3 Zbyszek Zbyszek Piestrzeniewicz 266427555 Warszawa Poland
4 Blauer See Auto, Co. +49 69 66 90 2555 Frankfurt Germany
5 Mini Wheels Co. 6505555787 San Francisco USA
6 Land of Toys Inc. 2125557818 NYC USA
7 Euro+ Shopping Channel (91) 555 94 44 Madrid Spain
8 Volvo Model Replicas, Co 0921-12 3555 Luleå Sweden
9 Danish Wholesale Imports 31 12 3555 Kobenhavn Denmark
10 Saveley & Henriot, Co. 78.32.5555 Lyon France

Search