I am using sessions and a dynamic form and need to create a link from within that form to another page.
The coding I am talking about would look as follows if I weren't using sessions:
while($row=mysqli_fetch_array($result))
{
echo "<tr><td><a href=edit.php?id=$row[id]>edit </a>"."<a href=delete.php?id=$row[id]>delete</a></td>";
echo "<td>$row[name]</td></tr>";
}
My question is, because I am using sessions, I believe that I need to include .SID in the reference to the edit.php and delete.php files.
I don't know how to include that in the <a href= > code. Can anyone advise me please?
Thanks