How to create Database for PHP Web Server
How to create Database for PHP Web Server
To set a key value, use curl $REPLIT_DB_URL -d 'key=value'
, which will create/edit a key named key with a value of value.
If you need to get the value of a key, use curl $REPLIT_DB_URL/key
which will return value, because we set that earlier.
To list every key, use curl "$REPLIT_DB_URL?prefix=key"
.
Now if you don't want to use a key anymore, use curl -XDELETE $REPLIT_DB_URL/key
Hi
I tried but am not clear on how to use a built-in database.
Could you please share me the steps or any reference link to use a built-in database.
Thanks & Regards
G. Karthik Kumar
Hi
I tried but am not clear on how to use a built-in database.
Could you please share me the steps or any reference link to use a built-in database.
Thanks & Regards
G. Karthik Kumar
@RowanFromBJC oh thats what that button is for
Please check this: https://stackoverflow.com/a/70803879/17994857