Welcome Guest, Not a member yet? Register   Sign In
Uploading to a database?
#1

[eluser]Andreia M.[/eluser]
Hello,

I'm new to both CodeIgniter and PHP, but not to programming (though I'm fairly noobish to that, too). I was wondering this:

I have a registration form that inserts some data into a database (ID, name, the usual). I'd like to enable the users to also submit an image (of a specified max size and width/height), which would be inserted in the database as well, one for each entry. The question is: what do I use to do that? The File Upload class (which, as I understand, uploads a file to a folder, not a database) or the Database class? A combination of both? Is there a way to do this?

Thanks in advance!


Messages In This Thread
Uploading to a database? - by El Forum - 06-03-2009, 09:51 AM
Uploading to a database? - by El Forum - 06-03-2009, 09:57 AM
Uploading to a database? - by El Forum - 06-03-2009, 09:59 AM
Uploading to a database? - by El Forum - 06-03-2009, 10:01 AM
Uploading to a database? - by El Forum - 06-03-2009, 10:05 AM
Uploading to a database? - by El Forum - 06-03-2009, 11:23 AM
Uploading to a database? - by El Forum - 06-03-2009, 02:28 PM
Uploading to a database? - by El Forum - 06-03-2009, 03:09 PM
Uploading to a database? - by El Forum - 06-03-2009, 03:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB