On Wednesday 01 May 2002 07:34, Jule wrote:
Hey,
This time it's not about missing quotes or parenthasies i hope.
I'm trying to make a form which sends name, email, website, favsong and
comments to table guestbook, but when the checkbox mailinglist is checked
it should send the name and email
I don't know, every time i submit the form w/ the checkbox checked. it gives
me the echo string which comes when the if is not executed..it adds the
entries from the form to the guestbook table, but doesn't add the name and
email to the mailinglist table. it doesn't give me any php or mysql
So it executed the first if:
if (mysql_db_query ($DBName, $Query, $Link)) {
echo Your entry will be addedbrClick
a
href=../index.php?left=guestbookrighttop=guestbookrightbottom=guestbookrttitle=mailinglistrbtitle=gbaddhere/a
to go back.;
}
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
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'])) {
5 matches
Mail list logo