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

if name exists, do something

No comments posted yet

Your Answer:

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

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Character increment
Hi,

I am facing a scenario like above,but in my case i want to show up like Col A,Col B etc..

Comparing Values
Hi
I'm reading data from a database and this seems to work OK.

Each system has an associat

How to clone an SAP ECC using bacup tape on z/os?
We want to clone our production to a different SID using backup tape.

php mysql query from input textbox
Hi,

I have a text box, in that i have given the mysql query. I can able to get the query in v

displaying email without attracting a ton of spam
Hello,

this is maybe the wrong place to ask.
How would you display an email address on a w

Windows Authentication
I have a website which is windows authenticated.
now i want something more on this application.<

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

Blocking video streaming
Hello everyone,

I post a message here because i didn't find any solution yet.
I just finis

Table control is disappearing from Screen
Hi Experts,

I have a screen with multiple table control(TC). Each table control has two c

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