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

Company Code for Vendors created through Business Partners
Hi, experts!

I'm trying to set up the integration between Business Partner (BP) and Vendo

send message to the java application
Oracle 10g with Windows platform.

I have a java application that periodically pings the d

RFQ Configuration - can you make PLANT field an optional field in ME42
Is there a way to make the plant field on an RFQ optional in change mode (ME42)?

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

the problem with str_replace
$str="hahahahahahahahahahahahahaha";
$nn=1;
$str=str_replace('ha','MyGod',$str,$nn);

Do While statement
hi guys,

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

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

User feedback after MySQL query has been executed
Hi all, I've just registered on PHPFreaks because I've got a question that I simply can't work out b

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

[RESOLVED] Socket/Port remains open after app crashes
I'm having this problem with a networked app in vb.net.

If the program exits normally the por

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