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

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

temporary objects
Until now i thought every temporary object in C++ is created as constant. I'm wondering why my compi

Uploading Filetypes and placing them in seperate folders.
Hello,

first post , and asking for help im afraid. Very new to PHP, was making good progress

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

generating all possible random letters
hi'

how can i randomize the letters a,b,c,d,e all possible ways, and i want to print the res

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

Tournament Brackets (Double Elimination)?
Is making a double elimination tournament style bracket system capable of being done in php?

How to write on database when a link is clicked?
Hi, I have a list of products in a gridview. When the link is clicked currently it takes to an ext

Function module "DPS_CHECK_TABLE_EXISTS" not found (after OSS 1422843 impl)
Dear All,

I implemented Note OSS 1422843.

When i execute the new report RSPO20

Phase Error I can't seem to find :(`
Hey guys, I can seem to find my phase error on this. I am getting this error

[error]
Pars

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