Apart from column based search, you can add the advance filter options in PDOCrud. You can specify different filter and connect to
different columns of table. You can also specify type of filter and how it should work. Currently it support three types of
controls - dropdown, radio button and textbox. More options will be available in future versions.
$pdocrud = new PDOCrud();
//add Filter ("unique-filter-name", "Filter display name", "column name to be matched","type of filter")
$pdocrud->addFilter("product_cat_filter", "Product Category", "product_cat", "radio");
//set data for filter ("unique-filter-name",array of data or table,key (if source=db),value (if source=db), "source_type")
$pdocrud->setFilterSource("product_cat_filter", array("Electronic" => "Electronic", "Fashion" => "Fashion"), "", "", "array");
$pdocrud->addFilter("ProductLineFilter", "Product Line", "product_line", "dropdown");
$pdocrud->setFilterSource("ProductLineFilter", "products", "product_line", "product_line as pl", "db");
$pdocrud->addFilter("ProductVendorFilter", "Vendor", "ProductVendor", "text");
$pdocrud->setFilterSource("ProductVendorFilter", "", "", "", "");
echo $pdocrud->dbTable("products")->render();
1:12 scale model of a 1968 Dodge Charger. Hood, doors and trunk all open to reveal highly detailed interior features. Steering wheel actually turns the front wheels. Color black
Very detailed 1970 Plymouth Cuda model in 1:12 scale. The Cuda is generally accepted as one of the fastest original muscle cars from the 1970s. This model is a reproduction of one of the orginal 652 cars built in 1970. Red color.
This model features soft rubber tires, working steering, rubber mud guards, authentic Ford logos, detailed undercarriage, opening doors and hood, removable split rear gate, full size spare mounted in bed, detailed interior with opening glove box