Re: [PHP] Check for doubleposts

2005-05-06 Thread Richard Lynch
On Tue, May 3, 2005 9:48 am, Fredrik Arild Takle said: > what is the easiest way to check if a person i registered twice in a > mysql-table. Lets assume that I only check if the last name is in the > table > more than once. This is in mysql 4.0 (subquery not an option). > > Do I have to use arrays

RE: [PHP] Check for doubleposts

2005-05-04 Thread Mark Rees
-Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED] Sent: 03 May 2005 17:49 To: php-general@lists.php.net Subject: [PHP] Check for doubleposts Hi, what is the easiest way to check if a person i registered twice in a mysql-table. Lets assume that I only check if the

[PHP] Check for doubleposts

2005-05-04 Thread Fredrik Arild Takle
Hi, what is the easiest way to check if a person i registered twice in a mysql-table. Lets assume that I only check if the last name is in the table more than once. This is in mysql 4.0 (subquery not an option). Do I have to use arrays and in_array. Or is there a more elegant solution? Best re