Thanks for the response. I did apply the working code you sent, even though, i did not any error, but my
variables are get displayed in the browser.
1. The link variables $subject["menu_name"] - is not returning anything in the browser. I could see the link, but it is blank. when i hover mouse over the blank link, i could see it is there but not displaying or not visible.
2. But, when i do use echo the variable name before the code you sent, i could see this link showing in the browser.
echo '<li><a href="content.php?subj=' . urlencode($subject["id"]) . '">' . $subject["menu_name"] . '</a></li>';