reading data from php client

2011-06-05 Thread Aditya Kumar
HI, I am having issues with the php client reading the data with values are Integer. Can you please let me know what I am missing. DEtails: I have inserted some values in the database. I am able to retrieve that using JAVA. Output === 2011-06-03 15:13:23.085 INFO net.spy.memcached.MemcachedConnecti

Re: reading data from php client

2011-06-06 Thread Geoffrey Hoffman
It's unclear from your code sample how you are instantiating the memcache class instance. Meaning, $memcache isn't set? Try this: $memcache = new Memcache; $memcache->connect('127.0.0.1', 11212); $memcache->set('sample3',2); $foo = $memcache->get('sample3'); print_r( $foo ); On Sun, Jun 5, 201