[PHP-DB] Re: ?!? wats wrong?

2002-05-10 Thread J. Wharton
Hi Peter, Just a shot in the dark, but make sure that everything is correct case-sensitive wise. I know this has caused me grief in the past. J. Wharton "Peter Roescher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > I have a mysql query like this > &g

[PHP-DB] MYSQL-Search for duplicates

2002-05-06 Thread J. Wharton
Does anyone know of any built-in functions (either in PHP or MySQL) that can search for duplicates in a table according to 2 fields (id and year)? Thanks in advance, J. Wharton -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: determine the primary key after adding a row to a table (mysql)

2002-04-24 Thread J. Wharton
I encountered something similar. Here is a snippet of code: $tdate=date("Y\\-m\\-d"); $time=date("G\\:i\\:s"); $query="insert into trackinginfo (IP_Address, username, date, Time, Processed, CommentFlag) values ('$REMOTE_ADDR', '$username', '$tdate', '$time', 'N', '$commentExists')"; mysql_quer

Re: [PHP-DB] User getting superuser access. ack!

2002-04-24 Thread J. Wharton
... > Well, that looks like a problem within the findLoginType() > call. Since it's not been included, it's hard to help you. :) > > 'Luck > > -Szii > > > - Original Message - > From: "J. Wharton" <[EMAIL PROTECTED]> > To: <

[PHP-DB] User getting superuser access. ack!

2002-04-23 Thread J. Wharton
I am having a problem where from certain browsers, a user gets the superuser access, but from mine, she gets normal access. Help! Here is a snippet of my code: //findLoginType returns a single character code stored in the user table for each user. //variable $username=$REMOTE_USER as previously