Mysql and PHP for Thunkable X

Hi, im doing a new project, and I’m trying to implement Mysql on Thunkable. Does anyone know why I can’t insert info on my database. I need a solution! I show you some images.
PHP Script:

Thunkable Blocks:

I’m using a ngrok server to make it WAN is that any problem?