# Embed a web page on my site, inside a dynamic page, using URL from a database

**URL:** <https://forum.wixstudio.com/t/embed-a-web-page-on-my-site-inside-a-dynamic-page-using-url-from-a-database/42410>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [May 13, 2022, 1:07pm UTC](https://forum.wixstudio.com/t/embed-a-web-page-on-my-site-inside-a-dynamic-page-using-url-from-a-database/42410 "2022-05-13T13:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor-guelli](https://avatars.discourse-cdn.com/v4/letter/v/a87d85/32.png) [@victor-guelli](https://forum.wixstudio.com/u/victor-guelli)\
**Post date:** [May 13, 2022, 1:07pm UTC](https://forum.wixstudio.com/t/embed-a-web-page-on-my-site-inside-a-dynamic-page-using-url-from-a-database/42410/1 "2022-05-13T13:07:29Z")

</div>

Hello, I wanted some help, I created dynamic pages on my website, in these dynamic pages the Header and Footer are displayed, and the content is simply an external URL embedded in the center of my page, I need this embedded URL to come from the database, the same used to create this dynamic page. The basic wix editor only supports entering a URL manually or HTML, not fetching from the database. What code can I write to fetch this URL from the database (keyfield #linkKawana) ? Please help me… Some images attached

 ![](https://us1.discourse-cdn.com/wix/original/3X/6/7/679b7055b5689f05100f75cfe7baf353dafdc6bd.jpeg)

 ![](https://us1.discourse-cdn.com/wix/original/3X/0/d/0d39e7a137e0c1fc7795a8ee81d2a06877fe0f3e.jpeg)

 ![](https://us1.discourse-cdn.com/wix/original/3X/0/2/02433614721f8d0dcb34e49105dbe8b9c5c60b95.jpeg)

 ![](https://us1.discourse-cdn.com/wix/original/3X/5/e/5e5e16f7a3408e7144ed21bab330b8c458820e77.jpeg)

---

<div class="post-metadata">

**Author:** ![simen](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@simen](https://forum.wixstudio.com/u/simen)\
**Post date:** [May 13, 2022, 1:29pm UTC](https://forum.wixstudio.com/t/embed-a-web-page-on-my-site-inside-a-dynamic-page-using-url-from-a-database/42410/2 "2022-05-13T13:29:37Z")

</div>

Something like

```javascript
$w.onReady(function () {
    $w("#htmlName").src = $w("#dynamicDataset").getCurrentItem().linkKawana
})

```

---

<div class="post-metadata">

**Author:** ![victor-guelli](https://avatars.discourse-cdn.com/v4/letter/v/a87d85/32.png) [@victor-guelli](https://forum.wixstudio.com/u/victor-guelli)\
**Post date:** [May 16, 2022, 3:15pm UTC](https://forum.wixstudio.com/t/embed-a-web-page-on-my-site-inside-a-dynamic-page-using-url-from-a-database/42410/3 "2022-05-16T15:15:03Z")

</div>

Perfect!!!

Very good, it worked perfectly, thank you very much, from the heart !!!
