# Processing JS and HTML + PHP

**URL:** <https://discourse.processing.org/t/processing-js-and-html-php/16046>\
**Category:** Coding Questions\
**Created:** [December 2, 2019, 4:11pm UTC](https://discourse.processing.org/t/processing-js-and-html-php/16046 "2019-12-02T16:11:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vickydcl](https://avatars.discourse-cdn.com/v4/letter/v/f14d63/32.png) [@Vickydcl](https://discourse.processing.org/u/Vickydcl)\
**Post date:** [December 2, 2019, 4:11pm UTC](https://discourse.processing.org/t/processing-js-and-html-php/16046/1 "2019-12-02T16:11:08Z")

</div>

I’ve made a processing sketch that I had upload on my website (localhost). But the buttons that I programmed doesn’t work because i’m using the “selectInput” function that is not avaible in web. So, I guess I need to make that button in HTML, but i don’t know how to connect it with the processing sketch (I insert the sketch with echo script type etc.)

I have a second question, how do I connect that processing sketch with a data base? I need to save the last picture that a guy upload so the next guy that enters to the web can see it.

Thanks for reading!
