David Freedman wrote:
> I am trying my FIRST php file with an attempt to connect
> to my mySql server.
>
> // Connecting, selecting database
> $link = mysql_connect('localhost', 'host', 'my_passqword')
>or die('Could not connect: ' . mysql_error());
Does this print out anything?
Is it more t
M. Sokolewicz wrote:
Bret Hughes wrote:
On Fri, 2005-02-18 at 01:47, David Freedman wrote:
I am trying my FIRST php file with an attempt to connect
to my mySql server.
// Performing SQL query
$query = 'SELECT * FROM my_table';
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
Bret Hughes wrote:
On Fri, 2005-02-18 at 01:47, David Freedman wrote:
I am trying my FIRST php file with an attempt to connect
to my mySql server.
// Performing SQL query
$query = 'SELECT * FROM my_table';
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
On Fri, 2005-02-18 at 01:47, David Freedman wrote:
> I am trying my FIRST php file with an attempt to connect
> to my mySql server.
>
> // Connecting, selecting database
> $link = mysql_connect('localhost', 'host', 'my_passqword')
>or die('Could not connect: ' . mysql_error());
> echo 'Connec
I am trying my FIRST php file with an attempt to connect
to my mySql server.
The problem is it won't connect to the database. The server IS running. The
host, username,
and password are the exact same thing I use to connect the mySqlAdmin tool
to the database.
Doesn't seem like this should be th
5 matches
Mail list logo