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

modifying query string with no page refresh
Hi everybody,
I've tried to get info about my problem all over the internet but i didn't find out

php global variable
how can we create global variable so we can use its value in any form.. Please give example to

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

Remove letter from numeric textbox
I have a textbox that will search the employee database by entering in the employee ID and it will r

array_count_values question?
ok i'm trying to create a top ten list from a database of listed favorite movies.

the followi

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

data type in column definition
Hi,
I create a table with column called "Direction of Travel code ".
The travel codes in t

ALV sum various columns problem
Hi all,
I'm doing a report on ABAP for a timesheet of the current month. The output i want is s

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

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