RE: [PHP] SQL sums

2004-12-03 Thread Thomas S. Crum - AAA Web Solution, Inc.
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

RE: [PHP] Errors

2004-12-01 Thread Thomas S. Crum - AAA Web Solution, Inc.
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

RE: [PHP] How to ensure cookies are turned on.

2004-11-29 Thread Thomas S. Crum - AAA Web Solution, Inc.
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

RE: [PHP] Random number generation and phpBB search IDs

2004-11-27 Thread Thomas S. Crum - AAA Web Solution, Inc.
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

[PHP] php mail() sendmail hanging freebsd 4.10

2004-11-21 Thread Thomas S. Crum
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