Well, I have the following situation! I have a list of saved records in my Mongo bank, I need to display the list of things I've done and when I click on the product it would open a screen with more details about that product, I'm a newbie in Mongo and I'm taking a beating. In mysql I would just use a get caught id and ready more I could not do in Mongo. Unfortunately I can not change the bank I do not have authorization I need to find the solution. I'm using PHP with Mongo.
For example I have the list,
Paper Eraser Pen
When you click Paper you need to open a screen displaying all the details of the paper material that is registered in the bank such as color, size, etc. Inside the paper screen will have a button called requisition. When you click this button it opens a small form to be filled with the fields name and date, so when you click send I need to associate the name of this person with the item they requested in the paper case.
Note: I already have the form already I'm listing the content, the only thing I need help is in the process of clicking on the paper and displaying the details, and at the time of sending the form, relate that person's name to the item order.
This is what I'm using to display the list and when I click on them I get taken to the description.php page and obviously all products with their respective descriptions appear since I have not specified anything to individualize them. Here's my first problem.
$rows = $mongo->executeQuery("empresa.produtos", $query);
foreach ($rows as $row) {
echo "<a href=\"description.php\">$row->items<br>";