hi all

i am trying to update a record , which is in postgres databse using PHP, it's not showing any error , but records are not updated.
summary of the code given below
<?php
$db=pg_connect( 'user=postgres dbname=crm');
$qry="update Customer SET dispostion='Rej ected' where phone='123456';
$qry_res=pg_que ry($qry);
print 'Affectd Rows '.pg_affected_r ows($qry);

..........