add dynamic page link to a button

Hi Warda,

Few things you should be aware of:
First, Be sure that the link path for the dynamic page is correct.
Second, i think you are missing the most important part in your query, which is the current user that you want his Email, because in your code seems to return always the first item from the database, Right?

So what you should do is to add a query that finds the current user then get his email then you can added to the link :slight_smile:

For more information, check this Wix Api - HERE

Hope this helps!

Best,
Mustafa