query('SELECT 1+1', $db1);
> if ($result)
> {
> $row = mysql_fetch_row($result);
> echo "Result: {$row[0]}\n";
> }
> -
> [EMAIL PROTECTED]:~/src/P
-
[EMAIL PROTECTED]:~/src/PHP# php -q mysql_connect3.php
Result: 2
On Thu, 28 Oct 2004 23:08:39 -0400
John Holmes <[EMAIL PROTECTED]> wrote:
> Vladimir Shiray wrote:
> > -
> > War
Can one explain me why I has got a result:
-
Warning: mysql_query(): 4 is not a valid MySQL-Link resource in ...
$result = mysql_query('SELECT 1+1', $db1);
-
from next example.
The example does not wo
3 matches
Mail list logo