How to use Ajax to verify data on a DB ?


Posted on 16th Feb 2014 07:03 pm by admin

Hello everyone, well i want to know how to check a value if it exists or not on a Data base and capturing this without making postback (no click on a button or other control) ofcourse by using Ajax, I explain my self:I have a DB which contains a table called " TblClient" composed of the following columns:ID_Client
Name_Client
Tel_Clientand of course a form containing 2 textbox and a button to validate the seizure of the new customer:Box_Client
Box_Tel
my question consists with how to make a checking of the Telephone nulber of such as of the seizure (it's mean to the moment of seizure there is a synchronization with the TblClient table which checks if this number already exists in this base or not) and not by making a postback, I know that is possible to do using Ajax, but I do not see how. can you help me to resolve this topic ??thank's a lot

No comments posted yet

Your Answer:

Login to answer
53 Like 36 Dislike
Previous forums Next forums
Other forums

Storing user data help?
Hey Guys,

I'm not use if this question is to broad but I can always give you more informatio

email CODING Problem
Email coding problem.

I need to send a section of the info to $tf and the same as a Cc to $em

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

How to display value in drop down list after form has been reloaded
Please bear with me as I am very new to php and html.

I have a form with several drop down me

Which PHP-Editor do you think is the best?
Hi everyone,
Myself Brian Anderson. For the last 2 years i have been working a

my code does not work.
I have a code problem.

Quote"<a href=index.php?gogo=ureticidetay&'?l={$le

remove a ; from emails in textarea
Code: <?php

session_start();

$database_host = "localhost&qu

ME54/ME54N Conditional check for Release of PR
Hi Gurus,

My requirement is to put a check on the release of the PR with respect to the c

php sessions,logouts & the bloomin back button!
Hi All,

I've got a cms that members can log into. When they logout, the session is destroyed,

PHP Include w/If IE Condition Statement?
I was having a problem with Internet Exploder (big surprise, right?) displaying my drop down menus i

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