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

Show specific day of the week
I have been racking my brain trying to get this function to work properly and it is doing so for eve

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

UL and LI Add Form
The idea I want here is when the user click on a character name from the drop down select bar at the

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

[Need Help] php timing issues
I don't know what is going wrong. I need some help with being able to set an image at 9:00am Colorad

Validating time
Hi Guys

what do you think of the following approach to validate a 24hour time:

http://

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

duplicate record notification
In my database, after insertion of records, I want to know if the record inserted is duplicate or no

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