[eluser]umbongo[/eluser]
OK, well if i must change them, then how do i reference one side of an array.
When they were both the same I used the array for both database lookup and table creation.
So i guess i will now need an array;
Code:
$columns = array(
'column 1'=>'column_1',
'column 2'=>'column_2',
'column 3'=>'column_3',
);
Now, how can i reference one side of it? I know in a foreach loop you can do
Code:
foreach($columns AS $column => $column_db):
But how can i do this outside of a foreach loop??