Thread: PHP Help
View Single Post
Posts: n/a

i have setup a weblog page where normal users can only view the logs
however if you are successfully logged in i want an EDIT link to appear next to each log and when you click that link it uses that ID to go to my weblog edit page. i thought i had it all covered, but i think i've missed something small.

here's the JUICY code..

if(isset($_SESSION['MM_Username']) && isset($_SESSION['MM_UserAuthorization'])) {
echo '<a href="weblog_edit.php?id=' . $row_rs_weblog['id'] . '">EDIT</a> ';
QUOTE Thanks