I cant get the query to give me results
[php]
<?php $hostname="myelstonfamily.db.######.hostedresource.com"; $dbuser="myelstonfamily"; $pass="password"; $link = mysql_connect($hostname,$dbuser, $pass); $db_selected = mysql_select_db('myelstonfamily', $link)or die ('Can\'t use foo : ' . mysql_error()); $result = mysql_query("SELECT total FROM Reunion WHERE username = '.$_SESSION[username].'"); echo "Your total is:"; echo $result['total']; ?>[/php]