PHP and MYSQL: html stops at mysql_connect

PHP and MYSQL: html stops at mysql_connect

am 30.10.2005 22:22:52 von Bungert

Hallo,

Ich habe PHP, Apache und MySQL installiert, alles geht ok, aber jetzt habe
ich einem Problem. mysql_connect tut nichts.

Mein PHP ist:
---
echo "Testing Database Login System:
";
echo "---

";

if(!mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD)) or die("Unable to
connect to the database server!"); //terminates the script, and outputs the
error
---

PHP hat diese HTML gemacht:
---




---

MySQL funkuniert OK, PHP auch. Apache läuft. Wiß jemand was meinem Problem
ist? DB_SERVER ist "localhost". DB_USERNAME, DB_PASSWORD sind richtig.

Danke,
--
Stephen

PS: Was ist dem richtig Artikel für: PHP, Apache, MySQL and HTML? Deutsch
ist nicht meine Muttersprache ;-)