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

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

Save User Inputs while javascript reloading!
hi..
i have written a PHP code in which i reload the page when user selects a value in dropdown..

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

Page Reload
I am having issues getting a page to reload after I submit data to a database. This form should inp

Reditecting pages based on logic
Newbie here, apologies in advance!

I am trying to use the header function to forward one of a

How do I know when getBounds Method is ready to be called.
I have an application that changes out stylesheets client side. Once I change stylesheet the browse

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

help with image text
Hi ...

see i need the text of the name and number to start in the center and always be in the

PHP template help
Ok, I don't know if anyone can help me but I am using PHP templates to make a site. I am a newbie an

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