I am new to PostgreSQL, until now I have used MySQL, so when I wanted to see an error from a query sent from PHP I would use;
mysql_query("....") or die (mysql_error());
is there a similar function in PostgreSQL as it seems I cannot find it.
I am new to PostgreSQL, until now I have used MySQL, so when I wanted to see an error from a query sent from PHP I would use;
mysql_query("....") or die (mysql_error());
is there a similar function in PostgreSQL as it seems I cannot find it.