# Is there any way that I can connect to the database from my html file in Web Dev module?

**URL:** <https://forum.inductiveautomation.com/t/is-there-any-way-that-i-can-connect-to-the-database-from-my-html-file-in-web-dev-module/32055>\
**Category:** General Discussion\
**Created:** [February 7, 2020, 4:48pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-that-i-can-connect-to-the-database-from-my-html-file-in-web-dev-module/32055 "2020-02-07T16:48:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptchanchal](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@ptchanchal](https://forum.inductiveautomation.com/u/ptchanchal)\
**Post date:** [February 7, 2020, 4:48pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-that-i-can-connect-to-the-database-from-my-html-file-in-web-dev-module/32055/1 "2020-02-07T16:48:53Z")

</div>

From what I know about web dev module, it doesn’t support php files so is there any way that I can connect to database using web dev module.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 7, 2020, 5:15pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-that-i-can-connect-to-the-database-from-my-html-file-in-web-dev-module/32055/2 "2020-02-07T17:15:28Z")

</div>

Webdev Python endpoints have full access to all gateway-scoped scripting methods - so `system.db.runNamedQuery`, `system.db.runPrepQuery`, etc.
