I need to call a value out of an array and put in another array like:
call_user_func($list[$o].'Info',substr($col_b['$col_name[$o]'],1,4));
$col_b calls the table name;
$col_name is the table name.
$o is the counter in the for loop.
$col_b['$col_name['$o']'] should retreive the value out of the database which is sent to the function.
This doesn't give me the output I requested. When I hard code the $col_name part, it works. But when I use the other arrays value, it doesn't. I checked the array to make sure the value was there and it is, it just wont transfer into the other array. Is there a way to do this? If this doesn't make sense let me know and Ill try to explain better of post the code in more detail.
Thanks for your time.