Welcome Guest, Not a member yet? Register   Sign In
Upload issue!
#11

[eluser]BrokenLegGuy[/eluser]
No, I don't
Code:
$my_files = $this->do_upload($file_fields);
//with a little bit of elbow grease you pull the $my_files['file_one']['file_name'] to be inserted into your database along with the other fields.

That's where you come in and either run another loop to place $my_files['file_one']['file_name'] into a new array where the keys are the same names of the fields in the table that it's being inserted into or you insert them with a long SQL statement.

The idea is the exact same as http://ellislab.com/codeigniter/user-gui...tml#insert
#12

[eluser]the_unforgiven[/eluser]
OK coolio, i'll give it a whirl....




Theme © iAndrew 2016 - Forum software by © MyBB