Join other table

Allows you to join other tables. Only INNER JOIN supported. Keys in all joined tables must exist and be unique

HIDE CODE
<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('employees');
    $xcrud->join('officeCode','offices','officeCode'); // ... INNER JOIN offices ON employees.officeCode = offices.officeCode ...
    echo $xcrud->render();	
?>

Employees

#LastnameFirstnameExtensionEmailOfficecodeReportstoJobtitleCityPhoneAddressline1Addressline2StateCountryPostalcodeTerritoryOrdering
Actions
1JenningsLesliex3291leslie.jennings@myoffice.com31143Sales RepNYC+1 212 555 3000523 East 53rd Streetapt. 5ANYUSA10022NA2 View Edit Remove
2ThompsonLesliex4065lthompson@classicmodelcars.com71143Sales RepLondon+44 20 7877 204125 Old Broad StreetLevel 7UKEC2N 1HNEMEA3 View Edit Remove
3PattersonStevex4334spatterson@classicmodelcars.com21143Sales RepBoston+1 215 837 08251550 Court PlaceSuite 102MAUSA02107NA4 View Edit Remove
4TsengchuFoon Yueo224ftseng@classicmodelcars.com31143Sales RepNYC+1 212 555 3000523 East 53rd Streetapt. 5ANYUSA10022NA2 View Edit Remove
5BondurLouix6493lbondur@classicmodelcars.com41102Sales RepParis+33 14 723 440443 Rue Jouffroy D'abbansFrance75017EMEA1 View Edit Remove
6HernandezGerardx2028ghernande@classicmodelcars.com41102Sales RepParis+33 14 723 440443 Rue Jouffroy D'abbansFrance75017EMEA1 View Edit Remove
7CastilloPamelax2759pcastillo@classicmodelcars.com41102Sales RepParis+33 14 723 440443 Rue Jouffroy D'abbansFrance75017EMEA1 View Edit Remove
8BottLarryx2311lbott@classicmodelcars.com71102Sales RepLondon+44 20 7877 204125 Old Broad StreetLevel 7UKEC2N 1HNEMEA3 View Edit Remove
9JonesBarryx102bjones@classicmodelcars.com71102Sales RepLondon+44 20 7877 204125 Old Broad StreetLevel 7UKEC2N 1HNEMEA3 View Edit Remove
10FixterAndyx101afixter@classicmodelcars.com61088Sales RepSydney+61 2 9264 24515-11 Wentworth AvenueFloor #2AustraliaNSW 2010APAC5 View Edit Remove
Search