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:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.