$lastmenu=1;
//as a link:
$sLink=$fold."junk.php?thepage=$menu".($_GET['lev']+1);
if ($lastmenu > $_GET['lev'])
echo "<p><a href=\"$sLink\">mydescription</a></p>";
else
echo "this is the second part";
//as a button: /u could use either: a button with onclick event or a button as the a tag child.
if($lastmenu > $_GET['lev'])
//echo "<p><input type=\"button\" onclick=\"document.location.href='$sLink'\" value =\"mydescription\"/></p>";
echo "<p><a href=\"$sLink\"><input type=\"button\" value =\"mydescription\"/></a></p>";
else
echo "this is the second part";
//as a image
if ($lastmenu > $_GET['lev'])
echo "<p><a href=\"$sLink\"><img src=\"\"></img></a></p>";
else
echo "this is the second part";
|