If someone doesn't give you an answer here, try php cookbook by O'reilly.
It has this exact recipe in it.
Best,
Thomas S. Crum
-Original Message-
From: James Nunnerley [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL
Incorrect syntax.
You likely have a set a variable and not ended it with ';'
For example,
$some_variable = "some_value";
is the proper syntax. Or, post the code as recommended.
Best,
Thomas S. Crum
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECT
There is no global variable.
Set a cookie the when they hit the login page and then check to be sure that
cookie isset when they post to it.
Example for login.php:
Best,
Thomas S. Crum
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Monday, November 29
ot;;
$result = mysql_query($query);
$number_checker = mysql_result($result, 0, "total");
}
If this is in fact a bug (not likely) and it gets past this too, then wow
start using auto increment or something?
Best,
Thomas S. Crum
-Original Message-
From: Gordon Mc
appreciated. I've
included the sendmail.mc and php.ini files below.
Best,
Thomas S. Crum
# Sendmail .mc file
divert(-1)
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19 2003/12/31
17:42:16 gshapiro Exp $')
OSTYPE(freebsd4)
DOMAIN(generic)
FEATURE(access_db, `hash
5 matches
Mail list logo