Alright i'll take care of that, thanks a lot! Jule On Wednesday 01 May 2002 00:26, you wrote: > On Wednesday 01 May 2002 11:48, Jule wrote: > > but not the second one: > > > > if (isset($Guestbook[mailinglist])) { > > You should be using: > > if (isset($Guestbook['mailinglist'])) { > > > if (mysql_db_query ($DBName, $Query2, $Link)) { > > echo "Your e-mail address was > > sucessfully added to our mailinglist"; > > } else { > > echo "Your e-mail address will not be > > added to the mailinglist"; > > } > > Are you saying that the else clause gets executed, so you get "Your e-mail > address will not be added to the mailinglist"? > > If so then your error is within: > > if (mysql_db_query ($DBName, $Query2, $Link)) > > Therefore: > > 1) add some error checking code -- see examples in manual and also > mysql_error(). > 2) echo your queries ($Query2)
-- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php