I am almost there fixing my links, after stupidly forgot to back up when it was working, the delete link will not echo the $row['title']. It is exactly the same as the link about but is not working.
please help, after this i can post the script so anyone else having this problem can see.
<?php
function nav()
{
$name = $_SESSION['user'];
include("dbconnect.inc.php");
$sql = "SELECT * from pages where username='".$name."'";
$result = mysql_query($sql, $conn);
while ($row = mysql_fetch_assoc($result))
{
echo'<tr><td><a title="' . $row['title'] . '" href="index.php?action=editpage&id=' . $row['title'] . '">' . $row['title'] . "</a></td>\n";
}
// this line not echoing $row['title']
echo'<td align="center"><a title="' . $row['title'] . '" href="delete.php?id=' . $row['title'] . '"><img src="images/b_drop.png" border="0"></a></tr>';
}
?>