[ zgas @ 08.10.2009. 10:52 ] @
Gledao sam na internetu, ali izgleda je ne postoji mogucnost perzistentne konikcije ka bazi sa mysqli funkcijama.
Da li gresim?

Koristim mysqli i trenutno ne mogu da ga menjam. Pomoc.
[ Goran Rakić @ 08.10.2009. 11:19 ] @
PHP >= 5.3.0

Citat:

http://www.php.net/manual/en/mysqli.connect.php
...
host
Can be either a host name or an IP address. Passing the NULL value or the string "localhost" to this parameter, the local host is assumed. When possible, pipes will be used instead of the TCP/IP protocol. Prepending host by p: opens a persistent connection.
...
[ zgas @ 08.10.2009. 12:12 ] @
da. nazalost nemam na serveru 5.3 verziju.
[ Jbyn4e @ 08.10.2009. 13:38 ] @
Cek cek, zar se nesto desilo sa mysql_pconnect?
http://www.php.net/mysql_pconnect
Citat:

Open a persistent connection to a MySQL server
[ Goran Rakić @ 08.10.2009. 14:22 ] @
Ne znam da možeš taj "resource handle" da pretvoriš u MySQLi instancu?
[ Jbyn4e @ 09.10.2009. 14:45 ] @
A sorry, ovo "i" u mysqli je tako neprimetno...