Welcome Guest, Not a member yet? Register   Sign In
How to get file name to be inserted to database ?
#6

[eluser]Derek Allard[/eluser]
Take a read through the userguide again dimasVS, I think it'll be helpful.

After you've read it, if things still aren't clear, could you show me the code you'd use to pass $name into the "new_person()" function of the following model? Notice that I'm taking File Uploading completely out of the equation.

Code:
$this->load->model('people_model');

$name = "Derek";
$this->people_model->new_person();


Messages In This Thread
How to get file name to be inserted to database ? - by El Forum - 02-14-2010, 10:26 AM
How to get file name to be inserted to database ? - by El Forum - 02-14-2010, 10:56 AM
How to get file name to be inserted to database ? - by El Forum - 02-14-2010, 06:22 PM
How to get file name to be inserted to database ? - by El Forum - 02-14-2010, 06:35 PM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 07:19 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 07:27 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 07:30 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 07:32 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 08:34 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 08:40 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 08:43 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 09:17 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 09:21 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 09:35 AM
How to get file name to be inserted to database ? - by El Forum - 02-15-2010, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB