Skip to content
Sign upLog in
← Back to Community

PHP example using Replit's Database

Profile icon
kgcbu

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

Voters
Profile icon
ishiinobuaki59
Profile icon
AarjavKavathia
Profile icon
kgcbu
Comments
hotnewtop
Profile icon
xNotKing

This is the best thing I saw in Replit, good job