i'm trying to learn this stuff and i'm having trouble doing the beginning excersises sitepoint has.

here's my code:
Code:

<html><head><title>welcome result</title></head>
<body>
<?php
 	echo( "tu nombre es: $firstName $lastName" );
$dbcnx = mysql_connect("localhost", "username", "password");
	if (!$dbcnx){
		echo( "<br>Unable to access the dB." );
		exit();
		}
mysql_select_db("/usr/local/mysql/bin/mysql uniquedesignsny_com", $dbcnx);
$result = mysql_query("SELECT first_name FROM customer");
while ( $row = mysql_fetch_array($result) ) {
	echo ("<p>" . $row["first_name"] . "</p>");
	}

?>
</body>
</html>
the error that the page produces is:

Warning: 0 is not a MySQL result index in
/home/uniquede/uniquedesignsny-www/welcome.php3 on line 12

line 12 is the while loop.


what am i doing wrong?!


any help is appreciated.

DLG