New File uploading control file/image uploading using PDOCrud (added in version 2.5)

This file control is modified version of default file control that allows you to add/remove files. It also helps to check files upload status in edit/update operation.

  
                                    $pdocrud = new PDOCrud();
                                    $pdocrud->fieldTypes("user_image", "FILE_NEW");//change type to image
                                    $pdocrud->formFields(array("username","user_image"));
                                    echo $pdocrud->dbTable("jm_users")->render();
                            

file uploading using PDOCrud

Jm users

Showing 1 to 10 of 15 entries

# Id Name Username Email Password Block SendEmail RegisterDate LastvisitDate Activation Params LastResetTime ResetCount OtpKey Otep RequireReset User image Actions
1 1 fucking girlfriend 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 http://pdocrud.com/script/uploads/1481931260_parte1.jpg
2 2 sdsqDQ 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 http://pdocrud.com/script/uploads/1482153211_monte-melqonyani-ynt-na88597.1.jpg
3 3 azerty 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 1472896582icone_site.png
4 4 111 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 1473306357a1.jpg
5 5 jj 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 1473706378aus.jpg
6 6 jj 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 1473706381aus.jpg
7 7 dddd 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 1473754742temp.jpg
8 8 Test 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0
9 9 Test 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 http://pdocrud.com/script/uploads/1481663564_Imatge_Breu Presentacio.jpg
10 10 asdasdas 0 0 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0 0 http://pdocrud.com/script/uploads/1481696679_50ib.png
# Id Name Username Email Password Block SendEmail RegisterDate LastvisitDate Activation Params LastResetTime ResetCount OtpKey Otep RequireReset User image Actions