I am doin my project in PHP with PostgreSQL as backend...
Both r very new to me....
My OS is LINUX
I am trying to connect to the database bt its not getin connected...
"su postgres" command
i hav created user "root" and database "sample"
"psql -U root sample" command
i hav created table "login" and inserted 3 data's...
Now through code using PHP i am trying to insert the data but connection is not getin established..
the code to connect to the datadase is :-
$sql="insert into login values('$uname','$pass')";
is there anythin wrong with tthe code or sum other problem
waiting for the reply...
pgsql-php by date
|Next:||From: Chris||Date: 2006-03-21 06:44:40|
|Subject: Re: unable to connect to datadase....|
|Previous:||From: Sam Sutch||Date: 2006-03-21 04:20:06|
|Subject: Re: total number of processor for windows|