Parse Error
| From: | Michael L | Date: | Thu, 16 Aug 2001 01:56:29 +0000 |
| Subject: | Parse Error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62930@lists.php.net to get a copy of this message | ||
Hi !
I have recently install php4 on Red Hat Linux with Apache, i try to connect
to MySql Database
but i have a parse error (on line 2) , why ? ( i have tried mysql_connect
but it still doesn't work too )
<?php
$link = mysql_pconnect ("kron", "jutta", "geheim") {
or die ("Connexion impossible");
}
if (mysql_create_db ("my_db")) {
print ("Base de données créée\n");
} else {
printf ("Erreur lors de la création de la base: %s\n",
mysql_error());
}
?>