image upload with save its name in db |
[eluser]meer[/eluser]
can some one send me the simple demo example of uploading image with saving its name in database plzzzzzz....... i need a simple demo........its urgent for me to move forward
[eluser]LuckyFella73[/eluser]
Take the code from the user guide ("Creating the Upload Form" , "The Success Page" and "The Controller"): http://ellislab.com/codeigniter/user-gui...ading.html Then in the controller code: Code: <?php Thats basically what you need (the simplest version) Be sure you have a database table having a column called 'filename' and read the whole provided page (userguide) to understand what parameters you might have to adjust (i.e. upload path ...) EDIT: Why did you opened a new thread with the same question you allready posted and where other members allready started to help you? You just wasted my time
[eluser]meer[/eluser]
ooooooooooooooooooooooooo. i did it myself.... thanks :-)
|
Welcome Guest, Not a member yet? Register Sign In |