Field Data Binding settings Bind data to fields in PDOCrud

  
                                $pdocrud = new PDOCrud();
                                $pdocrud->fieldTypes("gender", "radio");//change gender to radio button
                                $pdocrud->fieldDataBinding("gender", array("male","female"), "", "","array");//add data binding using array
                                $pdocrud->fieldTypes("country", "select");//change type to select
                                $pdocrud->fieldDataBinding("country", "country", "country_id", "country_name", "db");//add data using another table name country
                                $pdocrud->fieldTypes("state", "select");//change state to select dropdown
                                $pdocrud->fieldDataBinding("state", array("Andhra Pradesh","Bihar","Patna","Gujarat","Madhya Pradesh"), "", "","array");//add data using array in select dropdown
                                echo $pdocrud->dbTable("users")->render();
                            

Change field type using PDOCrud

Users

Showing 1 to 10 of 16 entries

# User id First name Last name User name Password Email Phone Gender Birth date Hobbies Educational status Company name Address City State Country Zip code About yourself Actions
1 26 Jon Snow jon jonathaon jon@gmail.com 99009900 0 2016-11-11 Footbal, volleyball, dddd BE DDT USA newyork 0 3 452005 about desc.
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
2 30 yemqHDGbASghVu hcWntOcErdNAcklhyj QIuDjsqpMkLGUDESEm jgDUxaeJiZCkuaoVh fVZnYMKEtIa 0000-00-00 cheap viagra spdNvoiqwOxc YuvNreRnGhEvaa generic viagra online pharmacy cheap generic viagra xcREtODtJe ibFsTlIsQfaTwBh ATptExgQvFaVt mZozqIJVFug generic viagra online pharmacy cheap generic viagra
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
3 0 ==Mashajuimi Mashajuimi =ivanfrankovich2017@mail.ru 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
4 0 Mashajuimi =ajee48h3VY 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
5 0 ==Arthurdrard Arthurdrard =minkovskiyoleg@gmail.com 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
6 0 Arthurdrard =zau!19k8aDJ 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
7 0 ==AbbaLesype AbbaLesype =kosmetikacn@gmail.com 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
8 0 AbbaLesype =itj7N3sv7G 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
9 0 ==EddieRip EddieRip =rucrimtaxi@yandex.com 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
10 0 EddieRip =!y641ohzTeE 0000-00-00
Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83

Notice: Undefined index: u in /home/pdocrud5/public_html/script/classes/templates/bootstrap/template-table.php on line 83
# User id First name Last name User name Password Email Phone Gender Birth date Hobbies Educational status Company name Address City State Country Zip code About yourself Actions