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 sums
I'm t
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 PROTECTED]
Sent: Wednesday, Decem
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,
Use a database query to verify the random number has not been used before.
$number_checker = 1;
while ($number_checker != 0){
#insert your $random_number code
$query = "SELECT COUNT(*) AS total FROM some_table WHERE
random_number_field = '$random_number'";
$result = mysq
4 matches
Mail list logo