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

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

UDP Multicast question
Hey,

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

problem with GROUP BY and ORDER BY
i usually use this query to display the last 10 entries from a sql table:

Code: $query = &quo

COOIS - Saving Object Overview WIP Status layouts
COOIS - Would like to be able to save the layout of an Object Overview - WIP Status report. There i

Multithreading design
Hi

I have come up with a Singleton class that manages a pool of database connections. Basical

Find current logon time
Hi,
in my sql script i want to query and find out the logon time of the current session.
<

get font info from a font file
hello,

Does anyone know how to get font info from a font file ... using php of course !
<

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

Create comparison matrix?
I want to create a comparison script for forum software and was wondering is there any tutorial or b

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