Hi!
1) Yes of course. I only have to delete the $link-variables...
But then - of course - I can only use the last connection.
2) It made no sense. Shell or Apache.
And the settings in php.ini are '-1' for 'unlimited'.
And I use the right php.ini, even with the shell-version.
Jason W
On Friday 01 February 2002 16:23, Berthold wrote:
> Hi again!
>
> If it would be so simple I would not ask...
>
> OK, once more:
> #!/usr/local/bin/php -q
1) Has the mysql functions ever worked for you on that system?
2) Are you only get this problem when using php from the command line?
--
Hi again!
If it would be so simple I would not ask...
OK, once more:
#!/usr/local/bin/php -q
gives this output:
Link1: 1
Warning: Supplied argument is not a valid MySQL-Link resource in
/home/bt/bin/test.php on line 5
Failed to select db
Fehler! Zeile 9:
And once again I describe it:
I've test
On Friday 01 February 2002 15:38, Berthold wrote:
> Hi!
>
> Thank you.
> But I cannot use that $link1 and/or $link2 to select two databases on
> different servers...
> If I use $link1 the first time to select the first database on the first
> server I got that error. But without that $link1-variab
Hi!
Thank you.
But I cannot use that $link1 and/or $link2 to select two databases on
different servers...
If I use $link1 the first time to select the first database on the first
server I got that error. But without that $link1-variable AND only one
connection in the script it works.
And it m
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Hi!
>
> mysql_error returns nothing...
>
> The error arrives while selecting the database via:
>
> $link = mysql_connect("host","user","passwd");
> mysql_select_db("bla", $link);
>
> echo $link returns always '1'!
>
>
>
>
> David
Hi!
mysql_error returns nothing...
The error arrives while selecting the database via:
$link = mysql_connect("host","user","passwd");
mysql_select_db("bla", $link);
echo $link returns always '1'!
David Robley wrote:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>>So,
>>
7 matches
Mail list logo