RE: [PHP] Matching Question

2001-08-04 Thread hassan el forkani
ok, if i understand you correctly, you're taking data from a form and want to check that it is not already in the database, right? then why don't you include the submitted vars in the query like this: $sql = "SELECT First_Name, Last_Name, Address FROM $table_name WHERE (Family_Position = 'H' or

RE: [PHP] Matching Question

2001-08-04 Thread Jeff Oien
Thank you. That worked and I'm sure will have made it work a lot faster later on when there is a lot of data in the database. Jeff Oien > On Sat, 4 Aug 2001 12:40:42 -0500, Jeff Oien ([EMAIL PROTECTED]) > wrote: > >After a sign up page I want to check if someone is already entered > >into a data

Re: [PHP] Matching Question

2001-08-04 Thread Mark Maggelet
On Sat, 4 Aug 2001 12:40:42 -0500, Jeff Oien ([EMAIL PROTECTED]) wrote: >After a sign up page I want to check if someone is already entered >into a database. The First Name, Last Name and Address all have >to match exactly in order for it to be considered a duplicate. >However >this isn't doing wh

[PHP] Matching Question

2001-08-04 Thread Jeff Oien
After a sign up page I want to check if someone is already entered into a database. The First Name, Last Name and Address all have to match exactly in order for it to be considered a duplicate. However this isn't doing what I want. I get the Error produced if the Address matches but the name does