| 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 9:16 PM, Tim Dunphy 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 =
| 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;
T
> > Date: Sat, 6 Jul 2013 14:42:07 -0400
> > From: bluethu...@gmail.com
> > To: php-general@lists.php.net
> > Subject: [PHP] mongo usage
>
> >
> > Hey all,
> >
> > I'm trying to pick up some basic use of MongoDB using PHP.
> >
> &
You commented out the setting of yhe addresses variable
On Jul 6, 2013 1:42 PM, "Tim Dunphy" wrote:
> Hey all,
>
> I'm trying to pick up some basic use of MongoDB using PHP.
>
> I seem to have hit an early obstacle that I'd like your opinion on. I try
> to pass an array to the mongo insert func
Could the comma after the last element in your array be causing the problem?
> Date: Sat, 6 Jul 2013 14:42:07 -0400
> From: bluethu...@gmail.com
> To: php-general@lists.php.net
> Subject: [PHP] mongo usage
>
> Hey all,
>
> I'm trying to pick up some basic use of Mo
Hey all,
I'm trying to pick up some basic use of MongoDB using PHP.
I seem to have hit an early obstacle that I'd like your opinion on. I try
to pass an array to the mongo insert function, but for some reason the
function does not recognize the array I'm passing. Even though I can
perform a var
7 matches
Mail list logo