# Select specific row in hubDB

**URL:** <https://community.hubspot.com/t/select-specific-row-in-hubdb/72262>\
**Category:** CMS Development\
**Created:** [January 5, 2023, 12:28pm UTC](https://community.hubspot.com/t/select-specific-row-in-hubdb/72262 "2023-01-05T12:28:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FilipaPF](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FilipaPF](https://community.hubspot.com/u/FilipaPF)\
**Post date:** [January 5, 2023, 12:28pm UTC](https://community.hubspot.com/t/select-specific-row-in-hubdb/72262/1 "2023-01-05T12:28:28Z")

</div>

Hello everyone!

I’m currently working on a webpage where it’s supposed to be a section with some dynamic cards for products. The cards are already being retrieved from HubDB, but the thing is I need these cards to appear only if they’re associated with this specific webpage, and not for all products, meaning that the content should be retrieved from just one specific row.

I was thinking maybe there’s a way of getting the cards for related products only if the row name matches the webpage title itself (and not the row’s page title)?

Here are some screenshots:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/e/2eb7ddd568b39d5a0932a232096577e5f62f5b84.png)

```lia-code-sample
 {% for row in hubdb_table_rows(5611783, query) %}
 <div class="col-12 col-sm-4 pb-5">
 {% module "module_16690500898232"
 path="/vg-theme/modules/vg-modules/vg-product-card",
 label="vg-product-card" %}
 </div>
 {% endfor %}

```

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/8/c8cba0379889656e963af279e010e4092020480e.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 10, 2023, 6:04pm UTC](https://community.hubspot.com/t/select-specific-row-in-hubdb/72262/2 "2023-01-10T18:04:10Z")

</div>

Hi, @FilipaPF 👋 Were you able to make any progress on your project? If not, I can tag in some community members to see if they have built anything similar.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![FilipaPF](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FilipaPF](https://community.hubspot.com/u/FilipaPF)\
**Post date:** [January 10, 2023, 6:16pm UTC](https://community.hubspot.com/t/select-specific-row-in-hubdb/72262/3 "2023-01-10T18:16:17Z")

</div>

Hello [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) , I already fixed the issue, thank you 🙂

I used dynamic\_page\_hubdb\_row variable and eventually achieved the desired output!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 10, 2023, 6:17pm UTC](https://community.hubspot.com/t/select-specific-row-in-hubdb/72262/4 "2023-01-10T18:17:20Z")

</div>

Wonderful! Thanks for letting us know.

Have a great rest of your week 😊 — Jaycee
