Your loop has the wrong initial and ending values
while (res->next())
{
for (int j=1; j <= 8; j++){
strcpy(laArray[i][j],res->getString(j).c_str());
}
i++;
}
Also, I'd look very closely at why you are using 1-based indexing rather than 0-based which is the idiom in C++: the first element of an array is at index 0.