"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> $query = mysql_query($sql); > >> $mysql_result = mysql_query ($sql, $Connection) or die ("Invalid > >>Query - " . mysql_error()); > > You're running the query twice. Take out that first line.
Michael, that's where your duplicate key error comes from. Forget about the table structure. Thanks, John. > > And I second the recommendation to please reply to the list and not > individuals unless they request it. > > -- > ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php