I make a simple blog for myself and, reading the PHP manual, found this http://us2.php.net/manual/en/function.pg-query.php
It says
pg_query resource ([resource $ connection], line $ query)...Note. Although the connection can be omitted, it is not recommended, because it can be a reason for finding errors in scripts.
pg_query resource ([resource $ connection], line $ query)
...
Note. Although the connection can be omitted, it is not recommended, because it can be a reason for finding errors in scripts.
Why is it not normal to use the last connection? I never planned to have more than one connection open to a PHP script, since this could cause errors for me?
Hah "I never planned to have more than one open connection in a PHP script."
, . " . , . . - , ? dot-com." !" . , .
... , . , , - . , . ! , . , . . ... ! ? . . . . ! !
. , pg_query , . . ... . . ...
* sniff *
, . , :) , .
, ? , mysql_query(). PostgreSQL - , .
, .
Source: https://habr.com/ru/post/1728136/More articles:do things with smarty function return value? - javascriptinsert new element into array inside hash - ruby-on-railshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728133/how-to-handle-authenticated-user-access-to-resources-in-document-oriented-system&usg=ALkJrhguYJrla6oVbK_RkQYpkuODQPVAcAWhat is wrong with this eval statement in Perl? - evalDoes Android launch OpenGL ES 1.1 or 1.0? - androidHow to use an entity structure at the business level and / or data level? - c #Почему этап undefined в моем классе ActionScript 3, хотя я импортировал класс Stage? - actionscript-3Silverlight: passing a complex object between pages - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728140/aspnet-passing-arguments-to-the-server-on-button-click&usg=ALkJrhi8Zgoiq-ykxJzpx7royC_lDyb__gBoost Library for RTTI - c ++All Articles