Need Help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Need Help (/showthread.php?tid=41503) |
Need Help - El Forum - 05-10-2011 [eluser]phpfresher[/eluser] I have form with method post and enctype multipart/form-data and the element type file having name user file ok here is the code <tr> <td>User Image </td> <td> <input type="image" name="userfile" /></td> </tr> and when i execute the code in the controller output is undefined index userfile here is the code in the controller die($_FILES['userfile']['name']); Can you help me ??? Need Help - El Forum - 05-10-2011 [eluser]eoinmcg[/eluser] try Code: <input type="file" name="userfile" /> |