$upcomingevents = mysql_fetch_array( $result );
$row = mysql_fetch_array[ $result ); $upcomingevents = $row['title'];