fields

MongoDB: Specifying which fields to return in group() query

How can I specify which fields to return in a group() query? find() has fields parameter; group() doesn't. ...

At least two errors: (syntax) CS0103 and (crashing program) for Loop

I am having two major problems with the source code below (and probably other problems I haven't yet discovered...). Problem Number 1: I have to apply the declared integer fields (day, month, year) under the class Friend to a string array in my Main() method. The way that I wrote the source code below doesn't allow for a definition for...

Wordpress multiple custom metabox values?

Hi. I'm trying to add a feature to have multiple featured images to a theme I'm creating similarily to this (from the theme Habitat by Kriesi on themeforest.net): http://s3.envato.com/files/1163033/images/5_backend_post.png You can see there on the right that there is a way to add as many featured images as you want. This requires that...

[javascript] how ti limit the additions field?

Hi, If someone here is willing to help me I would really appreciate how to limit the addition of columns in the following html code, let say only up to 5 only? <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="friends" <table width="100%" cellpadding="10" cellspacing="0" id="my_friends"> ...

PHP Form handling multiple fields

What would be the best way to intercept multiple fields via PHP? Currently I have a login.php file which is pretty simple: <form method="POST" action="auth.php"> Code:<br /> <input type="text" name="code" /> <input type="submit" id="submit" value="Submit" /> <br /> Pass:<br /> <input type="text" name="pass" /> <input type...