# Connecting/Calling .php files with Thunkable

**URL:** https://community.thunkable.com/t/connecting-calling-php-files-with-thunkable/2762796
**Category:** Questions about Thunkable X
**Created:** [December 28, 2023, 5:41pm UTC](https://community.thunkable.com/t/connecting-calling-php-files-with-thunkable/2762796 "2023-12-28T17:41:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pmginvestda6z](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@pmginvestda6z](https://community.thunkable.com/u/pmginvestda6z)
#### Post date: [December 28, 2023, 5:41pm UTC](https://community.thunkable.com/t/connecting-calling-php-files-with-thunkable/2762796/1 "2023-12-28T17:41:36Z")

</div>

Hello everyone,

I am new to Thunkable but have created a complete with AppInventor. The simple question is how to call .php files running on a server and handling a MYSQL DB. I would be very thankful for a complete example of blocks showing the entire mechanism. One remark is that I cannot seem to find in my Thunkable Pro the call “from Web\_API1 SET URL” command.  
Thankful for any answer.  
BR

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [December 28, 2023, 6:02pm UTC](https://community.thunkable.com/t/connecting-calling-php-files-with-thunkable/2762796/2 "2023-12-28T18:02:34Z")

</div>

Hi @pmginvestda6z, welcome to Thunkable! 🎉

Be sure to check out our posts about [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1) and our [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8) as you get started.

Just doing a quick search here of the same keywords, I found this post from not long about running a php script on a server that pulls data from a MySQL database. I would suggest starting here.

> [@Incorrect Response Data to API Call](https://community.thunkable.com/t/incorrect-response-data-to-api-call/2613035):
>
> Hi, I have a simple php script on my server that pulls data from a MySQL database. I can run the script in Postman and in my browser and I get back data - But when I run the Thunkable script - I get this - Any assistance would be appreciated. Thanks Steve

If you are wanting someone to do this for you, you can always post your request for paid work in our [Freelance / Paid Help Opportunities - Community](https://community.thunkable.com/c/freelance-paid-help-opportunities/87) category

As for the block for setting the URL, that is part of our Web API blocks. I will link to the docs for those here:

> **[Web APIs Blocks](https://docs.thunkable.com/blocks/advanced-app-features/web-api)**

![Screenshot 2023-12-28 at 1.01.14 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/b/5b038ba7f0eb253419d083474552a22c3d30f593.png)

You can also set the URL by clicking on the gear icon for the Web API you’ve added in the advanced blocks drawer and add it in there.

 ![Screenshot 2023-12-28 at 1.01.49 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/3/b3adfddca98c6288b53190da15681ef6940c790b.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [March 27, 2024, 6:03pm UTC](https://community.thunkable.com/t/connecting-calling-php-files-with-thunkable/2762796/3 "2024-03-27T18:03:33Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
