Welcome Guest, Not a member yet? Register   Sign In
save image path to database and then display it
#4

[eluser]mdowns[/eluser]
First get the full path of the image you uploaded. Read more about the File Uploading Class in the user guide.
Code:
$filepath = $this->upload->data()['full_path'];

Then insert that into your database.

Hope that helps.


Messages In This Thread
save image path to database and then display it - by El Forum - 09-15-2008, 12:19 PM
save image path to database and then display it - by El Forum - 09-15-2008, 02:31 PM
save image path to database and then display it - by El Forum - 09-15-2008, 02:56 PM
save image path to database and then display it - by El Forum - 09-15-2008, 03:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB