Hi
The following code is for an advice panel. It should give out a list of members names with a hyperlink to there user_id. Its not complicated. However i seem to be getting this, instead of the actuall data in the table.
Advice for Array(name)
This is the code:
<?php
$query = "SELECT name,email,id FROM members";
if ($send = mysql_query($query)) {
while ($line = mysql_fetch_array($send, MYSQL_ASSOC))
{
echo "<p>Advice for <a href='writeadvice.php?user=$line(name)'>$line(name)</a><br><br>";
};
} else {
$_SESSION['error'] = 'Sorry, you can not leave advice at this time. Please contact Reece';
}
?>