Sticklr PHP is a PHP script which offers a simple approach to generate sticky aspect panel navigation menu in server-aspect from numerous sources of codecs: PHP, JSON, or MySQL database desk.

Requirements:

Code instance:

<?php

    require_once('Sticklr.php');

    $mysql_host = 'localhost';
    $mysql_user = 'root';
    $mysql_pass = 'password';
    $db_name = 'sticklr_test';
    $table_name = 'menu';

    $sticklr = new Sticklr();
    $sticklr
        ->importMySQL($mysql_host, $mysql_user, $mysql_pass, $db_name, $table_name)
        ->writeHTML();

?>