Welcome Guest, Not a member yet? Register   Sign In
Friday afternoon problem array question
#1

[eluser]tim1965[/eluser]
Sorry in advance i know this is easy. But my brain doesnt seem to functioning today.
I want to add
$propid = $this->session->userdata('propid');
to a POST array
If i var_dump $propid i get
Quote:
array(1) { ["prop_id"]=> array(1) { [0]=> string(1) "5" } }
Quote:
So if i use
$form['property_id'] = $propid['prop_id'];
It adds "array" rather than "5", which is the value i am trying to get

Any help appreciated


Messages In This Thread
Friday afternoon problem array question - by El Forum - 01-16-2009, 09:51 AM
Friday afternoon problem array question - by El Forum - 01-16-2009, 10:10 AM
Friday afternoon problem array question - by El Forum - 01-16-2009, 10:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB