S
S
serafino-family2018-06-12 15:39:49
PHP
serafino-family, 2018-06-12 15:39:49

How to implement loading from the database of a value whose id =? ?

They were healthy. There is such a topic. I implemented user confirmation, I want to display on the screen whether it is confirmed or not, and here is such a problem, data from authorization with accept = 0 is written to the session, as we know, the session is destroyed only after 24 minutes, during this time I can quite confirm, and the user will not know about it. So, how to implement loading from the DB value accept with id = ? ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yan-s, 2018-06-12
@serafino-family

SELECT accept FROM table WHERE id = ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question