Put your PHP directory into your 'PATH' variable in environment
variables, or try copying the php_mysql.dll file into your windows
directory. Cheers.
Armando
Mike Francis wrote:
Hi,
I am running PHP 5, MySQL 4.1 and Apache 2.0 on an XP Pro Box. I would like
MySQL to serve HTTP pages via PHP.
Af
Hi,
I am running PHP 5, MySQL 4.1 and Apache 2.0 on an XP Pro Box. I would like
MySQL to serve HTTP pages via PHP.
After configuring the setup, on restarting Apache, I receive a 'php_mysql.dll
file cannot be found' error message. However, the webserver starts but, of
course, I cannot access MyS
I'm pretty new at php too but I think you are going about it all wrong.
First create a php script that accesses MySQL.
Like this:
Then put it on your web tree.
Then point to it with your browser.
I think you can execute a php script from the command line but I'm not
sure. I haven't done it.
Hi,
I been working on PHP/MySQL on Windows and to run some database script on
MySQL, at the DOS command prompt I say
>> mysql -u root -p < myscript.txt
to run my script of inserts.
Can anybody help me with an equlent at linux prompt ?
TIA
--
--
PHP Windows Mailing List (http://www.php.
TECTED]>
> Sent: Thursday, February 01, 2001 10:20 AM
> Subject: [PHP-WIN] Newbie - Help!
>
> I don't understand why I getting an error on this. it ran on my IIS/PHP
> machine but on my Apache/PHP I get errors. Here the code and the results,
> Please help:
>
>
mysql_error());
}
}
else {
// continue, this is a valid returned result set
}
Let me know if this helps.
-Toby
- Original Message -
From: "Tom Mathews" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:15 AM
Subject: Re: [PHP-
There seems to be a problem with your database connection. Can we see the
header include?
-Toby
- Original Message -
From: "Robert Trembath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 10:20 AM
Subject: [PHP-WIN] Newbie - Help
I don't understand why I getting an error on this. it ran on my IIS/PHP machine but on
my Apache/PHP I get errors. Here the code and the results, Please help:
New Vehicle Search";
mysql_select_db( $db )
or die ( "Couldn't open $db: ".mysql_error() );
$result = mysql_query( "SELECT * fr