File not uploading in mysql database. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: File not uploading in mysql database. (/showthread.php?tid=60239) |
File not uploading in mysql database. - El Forum - 02-12-2014 [eluser]Unknown[/eluser] I want to upload selected file in mysql database. But I am unable to upload it. When I upload something it shows no error and a column as 'file_name' shows its value as NULL. Please tell me whats wrong with my code. code : Code: function manage_prescription($param1 = '', $param2 = '', $param3 = '') File not uploading in mysql database. - El Forum - 02-12-2014 [eluser]CroNiX[/eluser] You sure it's set? Code: var_dump($_FILES); If not, check your form. Is it using Code: enctype="multipart/form-data" |