# Connecting database Qusestions to text and answers

**URL:** <https://community.thunkable.com/t/connecting-database-qusestions-to-text-and-answers/3750911>\
**Category:** Canvas / Gaming\
**Tags:** help\
**Created:** [April 18, 2025, 7:40am UTC](https://community.thunkable.com/t/connecting-database-qusestions-to-text-and-answers/3750911 "2025-04-18T07:40:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hezicg.workqn113d](https://avatars.discourse-cdn.com/v4/letter/h/9de0a6/32.png) [@hezicg.workqn113d](https://community.thunkable.com/u/hezicg.workqn113d)\
**Post date:** [April 18, 2025, 7:40am UTC](https://community.thunkable.com/t/connecting-database-qusestions-to-text-and-answers/3750911/1 "2025-04-18T07:40:46Z")

</div>

I’m building a card game in which I have 2 difficulty levels easy and hard, easy up to 50 points, hard 50 and above.  
(adding screenshots)  
I have a card that upon clicking it should “flip” from back to a random card (I already added all the cards front to assets) showing a number that shouls be linked to its correspondant question number. Then the Question in the text box should show with the answers written in the buttons.  
If a player answers correctly gains 2 points on easy level / 4 points on hard, if the player answers wrong loses 1 point on easy level / 2 on hard

How do I do that?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/9/89bd2bf24b571574d010b8141926f56e4147308a.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/9/99d7d395a6b76dd0c84575a5943ced8ee297ddeb.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 18, 2025, 2:34pm UTC](https://community.thunkable.com/t/connecting-database-qusestions-to-text-and-answers/3750911/2 "2025-04-18T14:34:33Z")

</div>

That’s a lot of questions at once. Start by getting a random number from 1 to the number of rows in your data source and setting a variable to that. Then use Get Value blocks to get each column value from that specific row (variable). That will give you the question number, question, and answers.
