Php site for a piece of JS code! For websites written in php, a member table mem in the mysql database has a field called looking (login times). now I want to find a JS code with the following functions: when some members reach 100 or 120, they will jump to pass. php (jump when the looking value is 100 or 120) ------ solution -------------------- calculate a piece of js code using the JS connection php site!
For websites written in the php language, the mysql database has a member table mem with a field called looking (login times)
Then I want to find a piece of JS code with the following functions:
When some members reach 100 or 120, they will jump to pass. php.
(Jump when the looking value is 100 or 120)
------ Solution --------------------
Use js to connect to the database?
------ Solution --------------------
Send ajax to the server, the server returns the number of logins, and the front-end determines whether to jump.