#yzzz-return-val

1 messages · Page 1 of 1 (latest)

wary kiln
#

Hello 👋
This doesn't look like it's a Stripe API related question. Can you clarify?

distant venture
wary kiln
#

What database are you working with?
You basically want to
1/ query your database in that function
2/ retrieve the amount (integer) and store it in a variable
3/ return that variable

distant venture
#

i think is first option, i want to pass some value from other php file so i can retrieve amount from database.

wary kiln
#

Sorry if that was unclear but those were Steps 1-2-3
This isn't related to Stripe's API. Its more of a question around how do I perform read/write operations with my Database.
Unfortunately, we can't help much with that. You'd likely want to google and find some tutorial on how to do that with PHP.