The array key 0 contains a string called user_id but there is no key named user_id hence why you're getting the error.
The array key 0 contains a string called 'user_id' but there is no key named 'user_id', hence why you're getting the error. I suggest you take a look at how you're compiling this data (query results perhaps? ).
You are mistaken. The structure of the array is like this: array: 0 => array: 0 => "user_id" 1 => array: 0 => "user_id" You need to access it like this: $var00 and you will get user_id. Most likely you did something wrong when setting up the array.
– NorS Oct 21 at 17:27 This is definitely strange. I would expect the result to be quite different from the dump you posted. Are you quite sure those two are related?
– Till Helge Helwig Oct 24 at 7:35 It worked out eventually. It had to do with the rows = row config. – NorS Oct 24 at 9:18.
The index is 0. I don't think you have this structured correctly. The index is the left side of the declaration, the value is the right.
You have assigned all values to "user_id" with incremental index.
User_id is not an array key (that can be accessed by ), it is an value. But you can use array_search() $index = array_search('user_id', $your_array); var_dump( $your_array$index ).
Error because the user_id is not an index it's a value having index 0.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.