Donatas,
That was it. Thanks so much.
Bob
From: Donatas Vyzas [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 27, 2006 3:03
PM
To: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] Using
MySQL with PHP
Take a look at the line:
$link = mysql_connect('
Take a look at the line:
$link =
mysql_connect('flms', 'userid', 'password') //appears
to stop here
the first argument to mysql_connect
is a host, where your mysql server is running. If your mysql server is
the same computer where php is running, this might be 'localhost'.
Otherwise, use IP n
rray($result,
MYSQL_ASSOC)) {
echo
"\t\n";
foreach ($line as $col_value)
{
echo
"\t\t$col_value\n";
}
echo
"\t\n";
}
echo "\n";
// Free resultset
mysql_free_result($result);
// Closing connection
mysql_close($link);
?>
Hi,
MySQL support might be already available in your PHP. You can check
that using phpinfo ( http://www.php.net/manual/en/function.phpinfo.php
). If you see MySQL section in the output of phpinfo() - you already
have MySQL support, if no - you have to recompile PHP with the
following parameter
Hi,
If I want to use MySQL with PHP do I
need to re-compile PHP or can I just adjust the php.ini file to use MySQL?
Thanks in advance.
Bob
Hi,
I want to use MySQL with PHP 5 but it is not
enabled by default. The manual I downloaded says I have to build PHP myself. How
do I do this? I a web designer not a programmer! The manual says you need MS
Visual Studio! Do I really need to buy this programme just to use MySQL? Can
anyone