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 156 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.
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
3 31 ==Zharesbefmmmm Zharesbef jon jonathaon =fandegit@yandex.com 7896543210 g 0000-00-00 tygrdt jhjg jghj hjghj hjghj hgjghj jghj jgh hjghjgj
4 32 Zharesbef =7v8bv5TeoW 0000-00-00
5 33 ==SergioPrion SergioPrion =s.ergeyfrolyak1977112018@gmail.com 0000-00-00
6 34 SergioPrion =be$v8a34oNS 0000-00-00
7 35 ==SergioPrion SergioPrion =s.ergeyfrolyak1977112018@gmail.com 0000-00-00 =[]=drama =AminoBoosters ??? ?????? http://1541.ru ( ??????) ????????, ?? ??????? ? 4 ???? ? ??????? ?? ?????????? ?????????. ??? 1 ? 1 ? laminine LPGN - ?????, ?????????? ?-?? ????????? - ?????? ?????? ????????. ??????? ?? ?????? ????????? YTE ??????? ???, ??? ???????? ?????????.??? ?? ?????????. ???????????? ? ???? ??????? ?? ??????????????? ???????????????? ???????? ???? ? FGF ( ???????? ????? ????????????). viber +380976131437 ????? evg7773
8 36 ==Conradowerm Conradowerm =anatolidot@yandex.ru 0000-00-00
9 37 Conradowerm =2E#nvxzw28J 0000-00-00
10 38 ==Bryceres Bryceres =npn2017@ukr.net 0000-00-00
# 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