function init() { $db = db_connect(); get_entry_data($db); }
function entry_data() { echo get_entry_data(); }