If a record matches an existing record do nothing


Posted on 16th Feb 2014 07:03 pm by admin

So I don't know if I should put this here or in mysql, but what my script is for is for people to add their emails to our mailing list. Pretty simple, I got that working. But what I want it do now is that if somebody puts their email in and their email is already added to our database then it doesn't do anything. but if their email isn't in our database then it will add it.

Did you know?Explore Trending and Topic pages for more stories like this.
So basically stop duplicate records. Is there any way to do this php? I'm sure there is, its just not coming to me.
No comments posted yet

Your Answer:

Login to answer
232 Like 20 Dislike
Previous forums Next forums
Other forums

PHP IMAGE UPLOAD SCRIPT
Hi for the last week i have been looking for scripts that will upload a photo to a certain folder wh

Credit card verification
I have a client who wants to process credit card transactions from his web site rather than the goin

Printing issues with xMII 11.5
For some reason, we have one report (and only one) that is giving us fits when trying to print. The

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

Mass activity scheduling
Hi experts,

Im facing some problems to deal with mass activity jobs.
When I run some

Is there something wrong?
Hi all,

Just a quick question... can someone look at this code and see if something is wrong?

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

animation progress while uploading files?
Hello, i have some website form to upload few files to server. i want to put some gif animation whi

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash