i am using an associative array with a list of columns for a mysql table. below is the array:

$log = array("columns" => array("Who", "Project", "WhatDone", "Started", "Finished"));

the array above will also have another row called Data which is added later.
basically i want to be able to add new data/rows into the columns part of the array without erasing the current data.
this is some sample code that i thought may work (havent tried, just wanted to make sure first)

$log['colums'] .= "new column";

any ideas?
tia

    Write a Reply...