how update record in database using php code help javascript


#1

Hello i have a question
how update record in database using php code help javascript

for example

click link then javascript timer start 10 to 1 then 0 then
tell me that read first or not

[php]

Wait Please…
[/php]

how can this


#2

The intermingling of code, and lack of explanation makes it difficult to know what you are trying to do, or why.


#3

user read message first time and open 2nd the page timer start when end the time user show message that u read message or read 2nd or 3rd time

code some mistake good code here

Wait Please...

#4

You need to focus on API development. It will separate out the front from the backend, code and logic. Then it is just a matter of hitting the endpoint with to get the information and increasing a counter, or adding a record that says the record was returned.


#5

get the information and increasing counter


#6

I found this code
update record good but when press refresh button record update
i want setTimeout run when count = 0 then record update
code this

<?php require('db.php'); ?> Timers