check if value exists


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

I have googled this for a while and I am getting lots of different results. Is there a standard method used for checking to see if a value exists in a database before inserting a value? I have a form, you type your name and push submit, it inserts the name into the database and then the name shows up in a list. Right now, it accepts the same values. I want to add a check to say

Did you know?Explore Trending and Topic pages for more stories like this.
if name exists, do something
No comments posted yet

Your Answer:

Login to answer
337 Like 35 Dislike
Previous forums Next forums
Other forums

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

UDP Multicast question
Hey,

Im not really in the know when it comes to network related programming and activitie

Save cookie to DB
I'm working on a pixel tracking script for an incentive website and I need to use an ASP script to s

Help a newbee save my job !
Hey guys i am dying here i am new to php and would like for someone to help me with this problem

PHP Display Telephone Number On Referrer
I have used the php below to show a different telephone number in the header of the site depending u

$_GET problem
Hi all,

Have a bit of a problem with a little piece of code, I am not sure if this should be

ob_ dynamic content
i was wondering about the potential to use ob to create a <div then remove it when the page

$_POST variable un-useable
I'm trying to use a $_POST variable in a mysql update statement but i can't use it for some unknown

Auto install
Hi I have a directory lets say "apps" that I then have more folders ie "email",

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