Hello,
I just interviewed for a position doing PHP/codeigniter. One of the technical questions I was asked had me working with multi-dimensional arrays. This is an area where I have not had much need to work with in the past.
I could not complete the whole exercise. I was honest and did not cheat by asking for a solution at some web forum. I did not get the job due to not being able to do this.
Did I make a mistake by being honest and should have just googled for the answer?
Please give me your insight because I'm just confused by the whole thing.
2. If you don't know how to work with multidimensional arrays, you really need to learn. It's something I would consider a core skill for a programmer.
3. If you're competent at all, it would have only taken a few minutes of googling to figure out the right solution. Multidimensional arrays are very easy to work with in PHP.