Have anyone answers on the strange behaviour discussed in the thread ?
I has noted specially:
It works OK in PHP 4.3.6 or when line $db2 = 0; had been commented
in all described versions of PHP.
So next example works perfect:
-
I has noted specially:
It works OK in PHP 4.3.6 or when line $db2 = 0; had been commented
in all described versions of PHP.
So next example works perfect:
-
error_reporting(E_ALL);
$db1 = mysql_connect ('localhost', 'test', '1');
$db2 =
Vladimir Shiray wrote:
-
Warning: mysql_query(): 4 is not a valid MySQL-Link resource in ...
$result = mysql_query('SELECT 1+1', $db1);
-
[snip]
$db1 = mysql_connect ('localhost', 'test', '1');
$db2 =
3 matches
Mail list logo