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

Stumped by Third Day of Month problem
I am trying to build an algorithm that will essentially do this:
Code: [Select]$this_month = Oct

Problem with variable declaration in switch statement
Hello, I am having some trouble assigning a value to a variable inside a switch statement. What I a

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

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,

Getting a variable to work in function params
I have this fuction which is inside a class:

Code: public static function generateEmbedCode($

WORDPRESS - Multiple Loops Only Going to One Post?
I have various pages with multiple loops and i need them to be individual to all other categories.

Calculus Help (and by help I mean homework)
Hrmmm, I hate posting about math homework, partly because it's homework, and partly because I hate w

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

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