| php Programming Glossary: memcache_connectMulti level menu with PHP http://stackoverflow.com/questions/16545580/multi-level-menu-with-php 
 Share variables between functions in PHP without using globals http://stackoverflow.com/questions/550753/share-variables-between-functions-in-php-without-using-globals  retrieving data. Originally each function made a call to memcache_connect however that was unnecessary e.g. mc insert mc get mc delete.. a construct for the class function __construct this mem memcache_connect ... and then using this mem wherever the resource was needed.. was needed so each of the three functions use the same memcache_connect resource. This is alright however if I call the class inside.. 
 |