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

[eluser]Derek Allard[/eluser]
I think you're over-complicating this for yourself. Could you show me what you've tried to get multiple values in? I'll start, how would you try to insert both name and age given the below:

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

$name = "Derek";
$age = 35;

$this->people_model->new_person(); // what does this line look like to get both name and age inserted?


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