Share your repls and programming experiences

← Back to all posts
PHP example using Replit's Database
kgcbu (1)

Sample PHP code using Replit's Database (https://docs.repl.it/misc/database)

DBfunctions.php has four functions corresponding to Replit's Database commands: Set, Get, Delete, and List.

index.php has sample PHP code that demonstrates how to use each function from DBfunctions.php