MySQL Classes: Key-Value Pairs
Script Description
This is a simple PHP class that gives you an easy way to store key-value pairs in MySQL database. Usually, you store key-value pairs in PHP array. If you want a key-value pair to be accessible within a session you will store it in the $_SESSION variable. However, to share it between different sessions you have to use MySQL database. With this PHP class it is almost as easy as using PHP array.