Well, i appreciate both of your efforts, i just wrote a new script and got the problem solved, here is the code, i hope it will solve others problem regarding the menu creation.
Hello,
I am newbie to PHP and Smarty and working on a web site that contains menu and submenu retrieved from database, i am using PDO to fetch the main menu but i am not able to succeed while retriev ...