Oracle and PHP help
Posted: Fri Nov 14, 2003 12:57 am
Hi Group,
I am a new member here and new to PHP. I have read through most of the manual that comes with PHP and searched in it for my answers. I am running PHP on a Sun Box with Oracle 8i using Apache 1.3.9
My question: I want to create a form to accept a users Fname, Lname, and email for a newsletter and store this in the database, when they sign up for the newsletter though I want to be able to check and confirm that they haven’t already been added to the database (prevent duplicate entries). I have done this in Perl so it’s not entirely new to me, however doing it in PHP is. If anyone could take a minute to give me a sample of code to do this I would greatly appreciate it.
Regards,
C
I am a new member here and new to PHP. I have read through most of the manual that comes with PHP and searched in it for my answers. I am running PHP on a Sun Box with Oracle 8i using Apache 1.3.9
My question: I want to create a form to accept a users Fname, Lname, and email for a newsletter and store this in the database, when they sign up for the newsletter though I want to be able to check and confirm that they haven’t already been added to the database (prevent duplicate entries). I have done this in Perl so it’s not entirely new to me, however doing it in PHP is. If anyone could take a minute to give me a sample of code to do this I would greatly appreciate it.
Regards,
C