Hi John W. Holmes, > You can find out why with mysql_error(), but it's probably because you > haven't selected a database with mysql_select_db(). now I have this code, but with the same result <? mysql_connect("localhost","root"); mysql_select_db("finance"); mysql_db_query("finace","INSERT INTO buchung (Bezeichnung) VALUES ('b')")or die("Queryfehler"); ?> I always become the die-message. I'm using PHP Version 4.0.6 Regards, Ruprecht ------------------------------------------------------------ Ruprecht Helms IT-Service und Softwareentwicklung Tel/Fax: +49[0]7621 16 99 16 email: info@rheyn.de Homepage: http://www.rheyn.de ------------------------------------------------------------- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php