R
Railway4mo ago
Alf

My application with postgres database in railway does not work.

I have a simple map application, which uses a postgres database stored in railway, it worked perfectly until they forced me to update to a plugin, and now I don't know how to connect to this updated database. Help I understand that it has to do with something about reference variables, but I don't know how to use them, help This is the simple connection I used before!!! define("PG_DB" , "railway"); define("PG_HOST", "containers-us-west-120.railway.app"); define("PG_USER", "postgres"); define("PG_PSWD", "KnMyR2QajIj6V0n68eYtaaaaaaaa"); define("PG_PORT", "6557");
$dbcon = pg_connect("dbname=".PG_DB." host=".PG_HOST." user=".PG_USER ." password=".PG_PSWD." port=".PG_PORT."");
2 Replies
Percy
Percy4mo ago
Project ID: N/A
Alf
Alf4mo ago
N/A