Basic php question here. The following SQL code returns an array containing a key called 'date'. All I want to do is parse the 'date' value based on the key name. Any help?
$result = mysql_query("SELECT * FROM `table` WHERE columnName ='value'") or die(mysql_error());
$data = array();
while ( $row = mysql_fetch_assoc($result) )
{
$data[] = $row;
}
echo $data->{'date'}