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 23 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 96 harshit kalyani harshitkalyani0512@gmail.com 0000-00-00 harshit
2 97 harshit kalyani harshitkalyani0512@gmail.com 0000-00-00 harshit
3 98 harshit kalyani harshitkalyani0512@gmail.com 0000-00-00 test
4 99 ==Nancyabarm Nancyabarm =pakovsky311@outlook.com 0000-00-00 =[]=art =Hello I want to cum in my pussy then fuck me my nickname (Zlata50) Copy the link and go to me... bit.ly/2fKf1re 8145979939224
5 100 ==Stevenkneen Stevenkneen =vor.oninalorissa86@gmail.com 0000-00-00
6 101 Stevenkneen =kVb6vs5s1Q 0000-00-00
7 102 ==Thomasbriff Thomasbriff =e.lenka.rjnjnjwa4596@gmail.com 0000-00-00
8 104 ==Cloesmef Cloesmef =ipi.s.hou.l.u.6.43@gmail.com 0000-00-00
9 105 Cloesmef =S9hi$l7ld1N 0000-00-00
10 106 vcCKGJIOw zALRYPAtCvaqHgk 0000-00-00 TRrBHN nqigoccrdvnd, [url=http://lyrjvfwijhgh.com/]lyrjvfwijhgh[/url], [link=http://lsuwjcikcrgd.com/]lsuwjcikcrgd[/link], http://kwqrjssryymw.com/
# 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