Re: [PHP] mongo usage

[email protected] (Tim Dunphy)
Newsgroups php.general
Message-ID <CAOZy0e=RNRgEr4nnJTBZP=7PAuM8kTW7wgqaV913KfuLsJwX3g@mail.gmail.com>
| You seem to spell the variable differently (1 'd' vs. 2 'd's)?

Thanks! Fixed the type-o. Still no change.

   $connection = new Mongo();


    $db = $connection->jfdb;

    //$collection = $db->addresses;

    $adresses = $connection->jfdb->addresses;

Any other suggestions? Appreciated.

Tim


On Sat, Jul 6, 2013 at 5:39 PM, Matijn Woudt <[email protected]> wrote:

>
>
>
> On Sat, Jul 6, 2013 at 9:16 PM, Tim Dunphy <[email protected]> wrote:
>
>> | You commented out the setting of yhe addresses variable
>>
>> Those were both equivalent ways of stating the same thing. I tried
>> substituting the other statement but there was no change:
>>
>>     $db = $connection->jfdb;
>>
>>     //$collection = $db->addresses;
>>
>>     $adresses = $connection->jfdb->adresses;
>>
>> Thanks again!
>>
>>
> You seem to spell the variable differently (1 'd' vs. 2 'd's)?
>
> - Matijn
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.