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='Rejected' where phone='123456';
$qry_res=pg_query($qry);
print 'Affectd Rows '.pg_affected_rows($qry);
.......
?>
i queried the Database , updation not reflected .
any error in coding ??
any help
Thanks
Bluebird