check if the field value exists in the database by javascript
Is it possible?
maybe something like this ..
search = mysql_query("SELECT * FROM table3 WHERE name = 'name' AND title = 'title'");
if(@mysql_num_rows(search) > 0){
check if the field value exists in the database by javascript
Is it possible?
maybe something like this ..
search = mysql_query("SELECT * FROM table3 WHERE name = 'name' AND title = 'title'");
if(@mysql_num_rows(search) > 0){
It is IMPOSSIBLE to comunicate with any type of server in javascript. IMPOSSIBLE don't even try to search something. You need other languages like php ( reccomended ), java, asp... Check tutorials for connecting with php: