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

IS Retail & Manufacturing
Hi

Can IS Retail and Manufacturing activities be done in same instance ie. in same client

Save data in input fields when they press "BACK BUTTON"
Hi, this is html form: And let's say they get a error "Please enter ur title must be more then

Insert Failing.
Hey,
I am making a Sign up page for a website, but the insert query into the Database does not se

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

listing help
Hi,

at first, great new design!!! I like it,

i got a problem,

I want to list so

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

Scheduler problems related to execution of a single BLT by many schedules
Hello all,

We are running several MII instances in a distibuted architecture using a sing

Random Number Generation And Probability
Hello, I am working on a function which has to insert data into a SQL table.

we have to suppl

validating url
im trying to validate url's sent to me by a form
the url's im collecting are for placing banners

A rank users order by points
I want to make an insert from table 'rank' , with number (rank) from the cod blow, to fild users.ran

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