I cannot connect to the database. I already have phppgadmin and made a new database and table already. In my php file i encoded:
<?php
$conn = pgconnect ("host = localhost dbname = sign_in user = postgre password = 123456");
if (!$conn){
Echo "ERROR";
}
?>
What should i do?